mirror of
https://github.com/Yannick7777/codeigniter-setup-script.git
synced 2025-09-09 07:43:03 +02:00
initial igniter support
This commit is contained in:
parent
dc46c9e48f
commit
123d2f13a3
105 changed files with 8740 additions and 111 deletions
|
@ -1,15 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ "$(basename $(pwd))" == "laravel" ]]; then
|
||||
if [[ "$(basename $(pwd))" == "igniter" ]]; then
|
||||
cd ..
|
||||
./switch-branch-migrate "$@"
|
||||
cd laravel
|
||||
cd igniter
|
||||
exit
|
||||
fi
|
||||
|
||||
branch_name=$1
|
||||
|
||||
cd laravel
|
||||
cd igniter
|
||||
|
||||
if git show-ref --verify --quiet refs/heads/"$branch_name"; then
|
||||
git checkout "$branch_name"
|
||||
|
@ -19,4 +19,4 @@ fi
|
|||
|
||||
cd ..
|
||||
|
||||
docker compose exec app php artisan migrate:fresh --seed
|
||||
docker compose exec app php spark # migrate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue