change output filename
This commit is contained in:
parent
011f888601
commit
31aeff8191
9
build.sh
9
build.sh
@ -5,4 +5,11 @@ then
|
|||||||
mkdir bin
|
mkdir bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
crystal build --progress --no-debug --release src/vk0nline.cr -o bin/vk0nline.x86_64-lnx
|
ARCH=`uname -m`
|
||||||
|
OS=`uname | tr '[:upper:]' '[:lower:]'`
|
||||||
|
VERSION=`cat shard.yml | grep -m 1 'version: ' | sed -e 's/version: //g'`
|
||||||
|
|
||||||
|
echo "Build $VERSION for `uname` `uname -m`"
|
||||||
|
|
||||||
|
crystal build --progress --no-debug --release src/vk0nline.cr -o bin/vk0nline-$VERSION.$OS-$ARCH
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user