0.4.00.4.10.4.2stable
|
Last change
on this file since 55e44d4 was
55e44d4,
checked in by Michael Medin <michael@…>, 4 years ago
|
|
Added new command: assert which causes program to assert (and "crash") which I will use to test the debug builds.
Also reworked the build scripts to work better and such
|
-
Property mode set to
100644
|
|
File size:
640 bytes
|
| Line | |
|---|
| 1 | import type ;
|
|---|
| 2 | import generators ;
|
|---|
| 3 | import feature : feature get-values ;
|
|---|
| 4 | import toolset : flags ;
|
|---|
| 5 |
|
|---|
| 6 | feature source-folder : : path free ;
|
|---|
| 7 | feature exclude : : free ;
|
|---|
| 8 | feature recursive : off on : propagated ;
|
|---|
| 9 |
|
|---|
| 10 | type.register ZIP : zip ;
|
|---|
| 11 | generators.register-composing bjam/zip.make-zip : : ZIP ;
|
|---|
| 12 | flags bjam/zip.make-zip SOURCE_FOLDER <source-folder> ;
|
|---|
| 13 | flags bjam/zip.make-zip EXCLUDES <exclude> : -x ;
|
|---|
| 14 | flags bjam/zip.make-zip FLAGS <recursive>on : -r ;
|
|---|
| 15 |
|
|---|
| 16 | actions make-zip {
|
|---|
| 17 | echo 7z.exe a -tzip -bd "$(<)" "$(FLAGS)" "$(SOURCE_FOLDER)" "-x!$(EXCLUDES)"
|
|---|
| 18 | 7z.exe a -tzip -bd "$(<)" "$(FLAGS)" "$(SOURCE_FOLDER)" "-x!$(EXCLUDES)"
|
|---|
| 19 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.