parent
32ad9fe1da
commit
68a72fdba2
2 changed files with 18 additions and 0 deletions
14
CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh
Executable file
14
CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
echo "########################################################################"
|
||||||
|
echo "#"
|
||||||
|
echo "# Baïkal Packaging script"
|
||||||
|
echo "#"
|
||||||
|
echo "# Packaging project for flat distribution (replacing symlinks"
|
||||||
|
echo "# by their target). Useful for FTP deployment"
|
||||||
|
echo "#"
|
||||||
|
echo "#"
|
||||||
|
|
||||||
|
BRANCH="mongoose"
|
||||||
|
TARGETFILE="./package.zip"
|
||||||
|
TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`/"
|
||||||
|
mkdir $TEMPDIR && cd ../../../../ && git archive $BRANCH | tar -x -C $TEMPDIR
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
rm -Rf bin
|
||||||
|
rm -Rf examples
|
||||||
|
rm -Rf tests
|
Loading…
Reference in a new issue