-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
071a9f5
commit e8aa4e0
Showing
5 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
DIR="survloop" | ||
# Directory where all your repositories are located: | ||
REPODIR="~/repos" | ||
|
||
rm -r ./homestead/code/$DIR/vendor/rockhopsoft/survloop/src | ||
cp -r ./repos/survloop/src ./homestead/code/survloop/vendor/rockhopsoft/survloop/ | ||
# Directory which syncs with the virtual server | ||
HOMEDIR="~/homestead/code" | ||
|
||
rm -r ./homestead/code/$DIR/vendor/rockhopsoft/survloop-libraries/src | ||
cp -r ./repos/survloop-libraries/src ./homestead/code/survloop/vendor/rockhopsoft/survloop-libraries/ | ||
# Installation sub-directory within synched virtual server | ||
INSTDIR="survloop" | ||
|
||
rm -r ./homestead/code/$DIR/app/Models/* | ||
|
||
cd ./homestead/code/survloop/ | ||
rm -r $HOMEDIR/$INSTDIR/vendor/rockhopsoft/survloop/src | ||
cp -r $REPODIR/survloop/src $HOMEDIR/$INSTDIR/vendor/rockhopsoft/survloop/ | ||
|
||
rm -r $HOMEDIR/$INSTDIR/vendor/rockhopsoft/survloop-libraries/src | ||
cp -r $REPODIR/survloop-libraries/src $HOMEDIR/$INSTDIR/vendor/rockhopsoft/survloop-libraries/ | ||
|
||
rm -r $HOMEDIR/$INSTDIR/app/Models/* | ||
|
||
cd $HOMEDIR/$INSTDIR/ | ||
composer dump-autoload | ||
php artisan optimize:clear | ||
echo "0" | php artisan vendor:publish --force | ||
curl http://$DIR/css-reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
# Directory where all your repositories are located: | ||
REPODIR="~/repos" | ||
|
||
# Package name of Survloop extension | ||
REPONAME="survlooporg" | ||
|
||
cd $REPODIR | ||
rm -r zipz-repos | ||
mkdir zipz-repos | ||
|
||
cd $REPODIR/survloop | ||
tar -czvf survloop.tar.gz ./src | ||
mv survloop.tar.gz ../zipz-repos/survloop.tar.gz | ||
|
||
cd $REPODIR/survloop-libraries | ||
tar -czvf survloop-libraries.tar.gz ./src | ||
mv survloop-libraries.tar.gz ../zipz-repos/survloop-libraries.tar.gz | ||
|
||
cd $REPODIR/$REPONAME | ||
tar -czvf $REPONAME.tar.gz ./src | ||
mv $REPONAME.tar.gz ../zipz-repos/$REPONAME.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters