add export project script
This commit is contained in:
parent
adde0b3480
commit
d240fc3a2a
|
|
@ -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 .
|
||||
Loading…
Reference in New Issue