Working on web admin
This commit is contained in:
parent
bef5c8cc72
commit
36aedd1b49
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