Fixes build.sh

This commit is contained in:
Maxi Redigonda 2019-10-07 19:05:32 -03:00
parent bbf20bb1de
commit f2421b19f0
1 changed files with 11 additions and 10 deletions

View File

@ -12,17 +12,18 @@ rm -rf files/
mv files2 files mv files2 files
cd .. cd ..
mkdir api mkdir api
cp server/index.php api mv server/index.php api
cp server/.htaccess api mv server/.htaccess api
cp server/composer.json api mv server/composer.json api
cp server/composer.lock api mv server/composer.lock api
cp server/controllers api mv server/controllers api
cp server/data api mv server/data api
cp server/libs api mv server/libs api
cp server/models api mv server/models api
cp server/vendor api mv server/vendor api
cp server/files api mv server/files api
cp server/config.php api cp server/config.php api
chmod -R 755 .
cp client/src/index.php client/build cp client/src/index.php client/build
echo "3/3 Generating zip..." echo "3/3 Generating zip..."
cd client/build cd client/build