diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-04 09:38:53 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-04 09:38:53 -0700 |
commit | 8deea28b78299717494e1d0840059321fd23590a (patch) | |
tree | 0b06e78cffbc1df58bfd404adde72d0194681371 /mingw.bld | |
parent | 4e183dbc4cf61855bd4353017683e02f19f89461 (diff) | |
download | stage-8deea28b78299717494e1d0840059321fd23590a.tar.gz stage-8deea28b78299717494e1d0840059321fd23590a.tar.bz2 stage-8deea28b78299717494e1d0840059321fd23590a.tar.xz stage-8deea28b78299717494e1d0840059321fd23590a.zip |
mingw.bld has a package target.
It builds a zipfile with git describe in the filename.
Diffstat (limited to '')
-rw-r--r-- | mingw.bld | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -22,8 +22,27 @@ action "clean" | |||
22 | clean: targets(); | 22 | clean: targets(); |
23 | } | 23 | } |
24 | 24 | ||
25 | ZIPFILE = "stage-$(git describe).zip"; | ||
26 | ZIPINPUT = [ | ||
27 | "stage.exe", | ||
28 | "bloodfields.stage" | ||
29 | ]; | ||
30 | |||
31 | action "package" | ||
32 | { | ||
33 | build: [ZIPFILE]; | ||
34 | } | ||
35 | |||
25 | CXXFLAGS += "-ggdb"; | 36 | CXXFLAGS += "-ggdb"; |
26 | 37 | ||
38 | target ZIPFILE | ||
39 | { | ||
40 | profile "build" | ||
41 | { | ||
42 | execute("zip -9 ${ZIPFILE} ${ZIPINPUT}"); | ||
43 | } | ||
44 | } | ||
45 | |||
27 | target "stage.exe" | 46 | target "stage.exe" |
28 | { | 47 | { |
29 | input [ | 48 | input [ |