Created package.sh script for generating ea zip files

This commit is contained in:
Alex Tselegidis 2015-07-07 23:44:07 +02:00
parent 5d07d871ab
commit 624aee06a9
2 changed files with 22 additions and 10 deletions

22
package.sh Normal file
View file

@ -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

View file

@ -1,10 +0,0 @@
#!bin/bash
# Create Build Directory
# Minify and Concatenate Assets Code
# Zip Folder