From 624aee06a992e502b9ee25fc9c1a0749e16e461f Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 7 Jul 2015 23:44:07 +0200 Subject: [PATCH] Created package.sh script for generating ea zip files --- package.sh | 22 ++++++++++++++++++++++ rsc/package.sh | 10 ---------- 2 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 package.sh delete mode 100644 rsc/package.sh diff --git a/package.sh b/package.sh new file mode 100644 index 00000000..53d58e74 --- /dev/null +++ b/package.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# +# Bash script for the creation of the easyappointments.zip +# + +clear + +rm -f easyappointments.zip +rm -rf .tmp-package/** + +mkdir .tmp-package +cp -rf src/** .tmp-package +rm -f .tmp-package/config.php +mv -f .tmp-package/config-sample.php .tmp-package/config.php +cp CHANGELOG.md .tmp-package/CHANGELOG +cp LICENSE .tmp-package/LICENSE + +cd .tmp-package +zip -r ../easyappointments.zip ./* +cd .. +rm -rf .tmp-package \ No newline at end of file diff --git a/rsc/package.sh b/rsc/package.sh deleted file mode 100644 index 579e4c7f..00000000 --- a/rsc/package.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!bin/bash - - -# Create Build Directory - - -# Minify and Concatenate Assets Code - - -# Zip Folder \ No newline at end of file