]> Cypherpunks.ru repositories - gogost.git/blobdiff - default.do
Take version from source code directly
[gogost.git] / default.do
index 85bd5f1ead62d04bf5ea1225c46966bc1a59b304..db7986db4a3337e701393ae21ac4060478c1eefd 100644 (file)
@@ -1,3 +1,2 @@
 redo-ifchange module-name
-MOD=`cat module-name`
-go build -o $3 -ldflags "-X ${MOD}.Version=`cat VERSION`" ${MOD}/cmd/$1
+go build -o $3 `cat module-name`/cmd/$1