Makefile to write in the version.txt

This commit is contained in:
Kai Hendry
2014-12-06 22:11:14 +08:00
parent 18cdf60aae
commit 5dca464366
2 changed files with 6 additions and 2 deletions

6
Makefile Normal file
View File

@@ -0,0 +1,6 @@
build:
git describe --always > www/version.txt
docker build -t greptweet .
test:
docker run -v /srv/www/greptweet.com:/srv/http/u -p 81:80 -t -i greptweet