Update package name & add packge generation script

This commit is contained in:
Brendan LE GLAUNEC
2016-10-29 08:55:14 +02:00
committed by Brendan Le Glaunec
parent cd3cfc3837
commit 7243059cdb
4 changed files with 21 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
ESC_SEQ="\x1b["
COL_RESET=$ESC_SEQ"39;49;00m"
COL_RED=$ESC_SEQ"31;01m"
COL_GREEN=$ESC_SEQ"32;01m"
COL_YELLOW=$ESC_SEQ"33;01m"
COL_BLUE=$ESC_SEQ"34;01m"
COL_MAGENTA=$ESC_SEQ"35;01m"
COL_CYAN=$ESC_SEQ"36;01m"
echo -e $COL_YELLOW"Creating package ... "$COL_RESET
{ cd ..
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make package
cp cameradar_*_Release_Linux.tar.gz ../deployment
cd ../deployment
} &> /dev/null
echo -e $COL_GREEN"OK!"$COL_RESET
Binary file not shown.
Binary file not shown.