made build.sh add an _OSVERSION string
This commit is contained in:
parent
69666130da
commit
a428a36c5d
3
build.sh
3
build.sh
@ -2,4 +2,7 @@
|
|||||||
rm -r target/*
|
rm -r target/*
|
||||||
mkdir target
|
mkdir target
|
||||||
lua luapreproc.lua module/init.lua target/init.lua
|
lua luapreproc.lua module/init.lua target/init.lua
|
||||||
|
echo _OSVERSION=\"PsychOS 2.0a1-$(git rev-parse --short HEAD)\" > target/version.lua
|
||||||
|
cat target/version.lua target/init.lua > target/tinit.lua
|
||||||
|
mv target/tinit.lua target/init.lua
|
||||||
cp -r exec/ service/ lib/ target/
|
cp -r exec/ service/ lib/ target/
|
||||||
|
Loading…
Reference in New Issue
Block a user