Add distro create script
This commit is contained in:
parent
3dc314b2e3
commit
08fd589481
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,3 +2,5 @@
|
||||||
vendor
|
vendor
|
||||||
src/data/*.db*
|
src/data/*.db*
|
||||||
src/user-config.php
|
src/user-config.php
|
||||||
|
*.tar.bz2
|
||||||
|
*.zip
|
||||||
|
|
14
create_dist.sh
Executable file
14
create_dist.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Create release distribution archives
|
||||||
|
mkdir tmp
|
||||||
|
cd tmp || exit
|
||||||
|
cp -r ../src/* .
|
||||||
|
rm ./data/* || true
|
||||||
|
rm -rf ./vendor/bit-badger/pdo-document/.git* || true
|
||||||
|
rm -rf ./vendor/bit-badger/pdo-document/tests || true
|
||||||
|
rm -rf ./vendor/bit-badger/pdo-document/composer.lock || true
|
||||||
|
rm ./user-config.php || true
|
||||||
|
zip -q -r ../frc-"$1".zip *
|
||||||
|
tar cfj ../frc-"$1".tar.bz2 *
|
||||||
|
cd .. || exit
|
||||||
|
rm -rf tmp
|
Loading…
Reference in New Issue
Block a user