diff --git a/export_src.sh b/export_src.sh new file mode 100755 index 0000000..3d867c5 --- /dev/null +++ b/export_src.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +PROJECT_DIR=$1 +PLATFORM=$2 + +cd /tmp/ +git clone --recurse-submodules -j8 git@github.com:TouchInstinct/${PROJECT_DIR}-${PLATFORM}.git --branch develop +cd ${PROJECT_DIR}-${PLATFORM} +find . -name ".git*" -print0 | xargs -0 rm -rf +zip -r ${PROJECT_DIR}-${PLATFORM}-src-$(date +%F).zip . + +open . \ No newline at end of file