-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
a998d46
commit d3df5c9
Showing
11 changed files
with
37 additions
and
2 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ composer.phar | |
|
||
/.idea | ||
/.vscode | ||
/projects | ||
|
||
# Laravel Exclude | ||
# | ||
|
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,15 @@ | ||
#!/bin/bash | ||
|
||
PROJECTS=( | ||
api | ||
) | ||
|
||
for p in "${PROJECTS[@]}"; do | ||
if [ -d "projects/$p" ]; then | ||
echo "Pulling latest projects updates for $p..." | ||
(cd "projects/$p" && git pull) | ||
else | ||
echo "Cloning $p..." | ||
git clone --single-branch --branch main "https://github.com/laravelcm/$p" "projects/$p" | ||
fi; | ||
done |
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,10 @@ | ||
#!/bin/bash | ||
|
||
if [ ! -f composer.json ]; then | ||
echo "Please make sure to run this script from the root directory of this repo." | ||
exit 1 | ||
fi | ||
|
||
composer install | ||
composer setup | ||
source "$(dirname "$0")/checkout_latest_projects.sh" |
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,9 @@ | ||
#!/bin/bash | ||
|
||
if [ ! -f composer.json ]; then | ||
echo "Please make sure to run this script from the root directory of this repo." | ||
exit 1 | ||
fi | ||
|
||
composer install | ||
source "$(dirname "$0")/checkout_latest_projects.sh" |
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
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.