waifu: add versioning, starting from 1.0.0
This commit is contained in:
parent
89e657c97d
commit
c6fcf1321f
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
TOOLS="msvs,clang_compilation_database,color_msvc"
|
TOOLS="msvs,clang_compilation_database,color_msvc"
|
||||||
PRELUDE=$'\tsys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), \'scripts\', \'waifulib\'))'
|
PRELUDE=$'\tContext.WAIFUVERSION=\'1.0.0\'\n\tsys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), \'scripts\', \'waifulib\'))'
|
||||||
|
|
||||||
# a set of relatively stable tools
|
# a set of relatively stable tools
|
||||||
# TODO: make it possible to override this list
|
# TODO: make it possible to override this list
|
||||||
|
14
tests/waifuversion/wscript
Normal file
14
tests/waifuversion/wscript
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#! /usr/bin/env python
|
||||||
|
# encoding: utf-8
|
||||||
|
# a1batross, 2019
|
||||||
|
|
||||||
|
from waflib import Context
|
||||||
|
|
||||||
|
def options(opt):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def configure(conf):
|
||||||
|
conf.msg('Waifu version', Context.WAIFUVERSION)
|
||||||
|
|
||||||
|
def build(bld):
|
||||||
|
pass
|
@ -2,7 +2,7 @@
|
|||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
# a1batross, 2019
|
# a1batross, 2019
|
||||||
|
|
||||||
TESTS = 'subdirs gitversion conan msdev filter_cflags'
|
TESTS = 'waifuversion subdirs gitversion conan msdev filter_cflags'
|
||||||
|
|
||||||
def options(opt):
|
def options(opt):
|
||||||
opt.add_subproject(TESTS)
|
opt.add_subproject(TESTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user