diff --git a/.gitignore b/.gitignore index 991851d..1891f79 100755 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -Specific Specific/ENABLE_ADMIN +Specific/config.php +Specific/config.system.php diff --git a/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh b/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh index 3118257..1d2ebaa 100755 --- a/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh +++ b/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh @@ -9,6 +9,42 @@ echo "#" echo "#" BRANCH="mongoose" -TARGETFILE="./package.zip" -TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`/" +TARGETFILE="/tmp/package.zip" +TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`-temp" +TEMPDIRDEREFERENCE="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`" + +# Export Project mkdir $TEMPDIR && cd ../../../../ && git archive $BRANCH | tar -x -C $TEMPDIR + +# Dereferencig symlinks +cp -Rf --dereference $TEMPDIR $TEMPDIRDEREFERENCE +rm -Rf $TEMPDIR + +TEMPDIR=$TEMPDIRDEREFERENCE + +# Jump to tempdir +cd $TEMPDIR + +# Cleaning git stuff +rm .gitignore + +# Cleaning CoreVersions +rm -Rf CoreVersions + +# Cleaning FrameworksVersions +rm -Rf Core/Frameworks/Versions + +# Cleaning Resources +rm -f Core/Resources/Web/README.md +rm -Rf Core/Resources/Web/TwitterBootstrap + +# Cleaning Scripts +rm -Rf Core/Scripts +rm -Rf Core/Frameworks/Baikal/Scripts + +# Cleaning WWWRoot +rm -Rf Core/WWWRoot +rm -Rf Core/Frameworks/BaikalAdmin/WWWRoot + +# Cleaning Specific/Virtualhosts +rm -Rf Specific/virtualhosts \ No newline at end of file diff --git a/Specific/db/db.sqlite b/Specific/db/db.sqlite new file mode 100755 index 0000000..e0c5a3a Binary files /dev/null and b/Specific/db/db.sqlite differ