summaryrefslogtreecommitdiff
path: root/mingw.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-04 09:38:53 -0700
committerMike Buland <eichlan@xagasoft.com>2012-01-04 09:38:53 -0700
commit8deea28b78299717494e1d0840059321fd23590a (patch)
tree0b06e78cffbc1df58bfd404adde72d0194681371 /mingw.bld
parent4e183dbc4cf61855bd4353017683e02f19f89461 (diff)
downloadstage-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.bld19
1 files changed, 19 insertions, 0 deletions
diff --git a/mingw.bld b/mingw.bld
index 88311e2..e4f923f 100644
--- a/mingw.bld
+++ b/mingw.bld
@@ -22,8 +22,27 @@ action "clean"
22 clean: targets(); 22 clean: targets();
23} 23}
24 24
25ZIPFILE = "stage-$(git describe).zip";
26ZIPINPUT = [
27 "stage.exe",
28 "bloodfields.stage"
29];
30
31action "package"
32{
33 build: [ZIPFILE];
34}
35
25CXXFLAGS += "-ggdb"; 36CXXFLAGS += "-ggdb";
26 37
38target ZIPFILE
39{
40 profile "build"
41 {
42 execute("zip -9 ${ZIPFILE} ${ZIPINPUT}");
43 }
44}
45
27target "stage.exe" 46target "stage.exe"
28{ 47{
29 input [ 48 input [