Skip to content

Commit aa0c8ef

Browse files
committed
Update script/update-version.py for boolean-lite
1 parent 8462c85 commit aa0c8ef

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

script/update-version.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright 2017-2018 by Martin Moene
3+
# Copyright 2020-2020 by Martin Moene
44
#
55
# Distributed under the Boost Software License, Version 1.0.
66
# (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -24,32 +24,32 @@
2424
, ' VERSION {major}.{minor}.{patch}' )
2525

2626
, ( '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' )
2929

3030
# , ( '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' )
3333
#
3434
# , ( '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' )
3737

3838
, ( 'conanfile.py'
3939
, r'version\s+=\s+"([0-9]+\.[0-9]+\.[0-9]+)"\s*$'
4040
, 'version = "{major}.{minor}.{patch}"' )
4141

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}' )
4545

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}' )
4949

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' )
5353
)
5454

5555
# End configuration.

0 commit comments

Comments
 (0)