Permalink
Browse files

Add a version recorder for moritz

1 parent 1dad6ad commit cebf46bf8c230f30bedb4c962ed1aa9cba65373e @sorear committed Jul 20, 2010
Showing with 2 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 Makefile
View
@@ -10,3 +10,4 @@ syml
.STD_build_stamp
.STD_checkout_stamp
STD_checkout
+VERSION
View
@@ -5,6 +5,7 @@ COMPILER=Body.pm CgOp.pm CodeGen.pm CompilerDriver.pm Decl.pm Op.pm RxOp.pm\
Sig.pm Unit.pm Niecza/Actions.pm Niecza/Grammar.pmc .STD_build_stamp
all: Setting.dll
+ git rev-parse HEAD | cut -c1-7 > VERSION
test: $(COMPILER) test.pl Setting.dll
perl -MFile::Slurp -MCompilerDriver=:all -e 'header; mainline(scalar read_file("test.pl")); bootstrap' > Program.cs

0 comments on commit cebf46b

Please sign in to comment.