Add build script
This commit is contained in:
parent
00bf8c4349
commit
bed22b2bf5
1 changed files with 13 additions and 0 deletions
13
build.sh
Normal file
13
build.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
echo "Building project and update sources in dist/"
|
||||
|
||||
cd src/mineziper/
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. && make
|
||||
cp bin/mineziperd ../../../dist
|
||||
cd ..
|
||||
rm -rf build
|
||||
cd ../..
|
||||
|
||||
echo "Adding source backup to dist/"
|
||||
zip -r dist/src.zip src
|
||||
Loading…
Add table
Add a link
Reference in a new issue