|
1 | 1 | #!/usr/bin/env python |
2 | 2 | # |
3 | | -# Copyright 2017-2018 by Martin Moene |
| 3 | +# Copyright 2020-2020 by Martin Moene |
4 | 4 | # |
5 | 5 | # Distributed under the Boost Software License, Version 1.0. |
6 | 6 | # (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
|
24 | 24 | , ' VERSION {major}.{minor}.{patch}' ) |
25 | 25 |
|
26 | 26 | , ( 'CMakeLists.txt' |
27 | | - , r'set\W+any_lite_version\W+"([0-9]+\.[0-9]+\.[0-9]+)"\W+$' |
28 | | - , 'set( any_lite_version "{major}.{minor}.{patch}" )\n' ) |
| 27 | + , r'set\W+boolean_lite_version\W+"([0-9]+\.[0-9]+\.[0-9]+)"\W+$' |
| 28 | + , 'set( boolean_lite_version "{major}.{minor}.{patch}" )\n' ) |
29 | 29 |
|
30 | 30 | # , ( 'example/cmake-pkg/CMakeLists.txt' |
31 | | -# , r'set\W+any_lite_version\W+"([0-9]+\.[0-9]+(\.[0-9]+)?)"\W+$' |
32 | | -# , 'set( any_lite_version "{major}.{minor}" )\n' ) |
| 31 | +# , r'set\W+boolean_lite_version\W+"([0-9]+\.[0-9]+(\.[0-9]+)?)"\W+$' |
| 32 | +# , 'set( boolean_lite_version "{major}.{minor}" )\n' ) |
33 | 33 | # |
34 | 34 | # , ( 'script/install-xxx-pkg.py' |
35 | | -# , r'\any_lite_version\s+=\s+"([0-9]+\.[0-9]+\.[0-9]+)"\s*$' |
36 | | -# , 'any_lite_version = "{major}.{minor}.{patch}"\n' ) |
| 35 | +# , r'\boolean_lite_version\s+=\s+"([0-9]+\.[0-9]+\.[0-9]+)"\s*$' |
| 36 | +# , 'boolean_lite_version = "{major}.{minor}.{patch}"\n' ) |
37 | 37 |
|
38 | 38 | , ( 'conanfile.py' |
39 | 39 | , r'version\s+=\s+"([0-9]+\.[0-9]+\.[0-9]+)"\s*$' |
40 | 40 | , 'version = "{major}.{minor}.{patch}"' ) |
41 | 41 |
|
42 | | - , ( 'include/nonstd/any.hpp' |
43 | | - , r'\#define\s+any_lite_MAJOR\s+[0-9]+\s*$' |
44 | | - , '#define any_lite_MAJOR {major}' ) |
| 42 | + , ( 'include/nonstd/boolean.hpp' |
| 43 | + , r'\#define\s+boolean_lite_MAJOR\s+[0-9]+\s*$' |
| 44 | + , '#define boolean_lite_MAJOR {major}' ) |
45 | 45 |
|
46 | | - , ( 'include/nonstd/any.hpp' |
47 | | - , r'\#define\s+any_lite_MINOR\s+[0-9]+\s*$' |
48 | | - , '#define any_lite_MINOR {minor}' ) |
| 46 | + , ( 'include/nonstd/boolean.hpp' |
| 47 | + , r'\#define\s+boolean_lite_MINOR\s+[0-9]+\s*$' |
| 48 | + , '#define boolean_lite_MINOR {minor}' ) |
49 | 49 |
|
50 | | - , ( 'include/nonstd/any.hpp' |
51 | | - , r'\#define\s+any_lite_PATCH\s+[0-9]+\s*$' |
52 | | - , '#define any_lite_PATCH {patch}\n' ) |
| 50 | + , ( 'include/nonstd/boolean.hpp' |
| 51 | + , r'\#define\s+boolean_lite_PATCH\s+[0-9]+\s*$' |
| 52 | + , '#define boolean_lite_PATCH {patch}\n' ) |
53 | 53 | ) |
54 | 54 |
|
55 | 55 | # End configuration. |
|
0 commit comments