1
This commit is contained in:
parent
e2fbb7810d
commit
3a6af02a8f
16
scripts/publish_pm2_cpp_i_n/boundle.sh
Normal file
16
scripts/publish_pm2_cpp_i_n/boundle.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
source ./common.sh
|
||||||
|
|
||||||
|
cd ${SOURCE_PATH}
|
||||||
|
${PRE_COMPILE_CMD}
|
||||||
|
cmake ${COMPILE_FLAGS}
|
||||||
|
make clean
|
||||||
|
make
|
||||||
|
cp ../bin/${SRC_EXE_NAME} ../../../../bin/${PROJECT_NAME}
|
||||||
|
|
||||||
|
cd ../../../../
|
||||||
|
|
||||||
|
tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
|
||||||
|
dir_name=`basename $PWD`
|
||||||
|
package_name=${dir_name}.tar.gz
|
||||||
|
|
||||||
|
tar --exclude=*.git -chzf target/${package_name} bin common.sh reload.sh restart.sh config ${EXT_PKG_FILES}
|
0
scripts/publish_pm2_cpp_i_n/reload.sh
Normal file
0
scripts/publish_pm2_cpp_i_n/reload.sh
Normal file
Loading…
x
Reference in New Issue
Block a user