mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
Created package.sh script for generating ea zip files
This commit is contained in:
parent
5d07d871ab
commit
624aee06a9
2 changed files with 22 additions and 10 deletions
22
package.sh
Normal file
22
package.sh
Normal 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
|
|
@ -1,10 +0,0 @@
|
||||||
#!bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
# Create Build Directory
|
|
||||||
|
|
||||||
|
|
||||||
# Minify and Concatenate Assets Code
|
|
||||||
|
|
||||||
|
|
||||||
# Zip Folder
|
|
Loading…
Reference in a new issue