MaketRandevu/package.sh

23 lines
460 B
Bash
Raw Normal View History

#!/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
2015-07-08 00:47:26 +03:00
cp CHANGELOG.md .tmp-package/CHANGELOG.md
cp LICENSE .tmp-package/LICENSE
2015-07-08 00:47:26 +03:00
cp README.md .tmp-package/README.md
cd .tmp-package
zip -r ../easyappointments.zip ./*
cd ..
rm -rf .tmp-package