From 862fddbe14ef7ed2fd9251043892ba2983bea088 Mon Sep 17 00:00:00 2001 From: fabriciojs Date: Sat, 6 Jan 2024 18:33:12 -0300 Subject: [PATCH] remove kooldev/bash usage as we are now only on mac/linux --- docs/1-Getting-Started/3-How-it-works.md | 2 +- docs/1-Getting-Started/4-Starting-new-project.md | 2 +- docs/2-Presets/CodeIgniter.md | 2 +- docs/2-Presets/Laravel.md | 2 +- presets/codeigniter/codeigniter-scripts.yml | 2 +- templates/scripts/laravel+octane+roadrunner.yml | 2 +- templates/scripts/laravel+octane+swoole.yml | 2 +- templates/scripts/laravel.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/1-Getting-Started/3-How-it-works.md b/docs/1-Getting-Started/3-How-it-works.md index e1b4b1b8..b004173c 100644 --- a/docs/1-Getting-Started/3-How-it-works.md +++ b/docs/1-Getting-Started/3-How-it-works.md @@ -84,7 +84,7 @@ scripts: - kool run yarn install before-start: - - kool docker kooldev/bash -c "cp .env.example .env" + - cp .env.example .env - kool run yarn install ``` diff --git a/docs/1-Getting-Started/4-Starting-new-project.md b/docs/1-Getting-Started/4-Starting-new-project.md index 1833cf0a..238d3731 100644 --- a/docs/1-Getting-Started/4-Starting-new-project.md +++ b/docs/1-Getting-Started/4-Starting-new-project.md @@ -161,7 +161,7 @@ scripts: yarn: kool docker kooldev/node:20 yarn setup: - - kool docker kooldev/bash -c "cp .env.example .env" + - cp .env.example .env - kool start - kool run composer install - kool run yarn install diff --git a/docs/2-Presets/CodeIgniter.md b/docs/2-Presets/CodeIgniter.md index 15e3e140..d4a82443 100644 --- a/docs/2-Presets/CodeIgniter.md +++ b/docs/2-Presets/CodeIgniter.md @@ -155,7 +155,7 @@ scripts: phpunit: kool exec app php ./bin/phpunit setup: - - kool docker kooldev/bash -c "cp env .env" + - cp env .env - kool start - kool run composer install - kool run spark key:generate diff --git a/docs/2-Presets/Laravel.md b/docs/2-Presets/Laravel.md index f2d5c66b..271577fb 100644 --- a/docs/2-Presets/Laravel.md +++ b/docs/2-Presets/Laravel.md @@ -152,7 +152,7 @@ scripts: - kool run yarn install before-start: - - kool docker kooldev/bash -c "cp .env.example .env" + - cp .env.example .env - kool run yarn install ``` diff --git a/presets/codeigniter/codeigniter-scripts.yml b/presets/codeigniter/codeigniter-scripts.yml index e2389677..028c30a2 100644 --- a/presets/codeigniter/codeigniter-scripts.yml +++ b/presets/codeigniter/codeigniter-scripts.yml @@ -5,7 +5,7 @@ scripts: mysql: kool exec -e MYSQL_PWD=$DB_PASSWORD database mysql -uroot setup: - - kool docker kooldev/bash -c "cp env .env" + - cp env .env - kool start - kool run composer install - kool run spark key:generate diff --git a/templates/scripts/laravel+octane+roadrunner.yml b/templates/scripts/laravel+octane+roadrunner.yml index 1e6c0f2b..91f43123 100644 --- a/templates/scripts/laravel+octane+roadrunner.yml +++ b/templates/scripts/laravel+octane+roadrunner.yml @@ -12,6 +12,6 @@ scripts: - kool run artisan migrate:fresh --seed before-start: - - kool docker kooldev/bash -c "cp .env.example .env" + - cp .env.example .env - kool docker kooldev/php:8.2-node composer install - kool docker kooldev/php:8.2-node php artisan key:generate diff --git a/templates/scripts/laravel+octane+swoole.yml b/templates/scripts/laravel+octane+swoole.yml index 46eaba98..44f02682 100644 --- a/templates/scripts/laravel+octane+swoole.yml +++ b/templates/scripts/laravel+octane+swoole.yml @@ -12,6 +12,6 @@ scripts: - kool run artisan migrate:fresh --seed before-start: - - kool docker kooldev/bash -c "cp .env.example .env" + - cp .env.example .env - kool docker kooldev/php:8.2-swoole composer install - kool docker kooldev/php:8.2-swoole php artisan key:generate diff --git a/templates/scripts/laravel.yml b/templates/scripts/laravel.yml index 9ba4d75f..1e46e65a 100644 --- a/templates/scripts/laravel.yml +++ b/templates/scripts/laravel.yml @@ -14,4 +14,4 @@ scripts: - kool run artisan migrate:fresh --seed before-start: - - kool docker kooldev/bash -c "cp .env.example .env" + - cp .env.example .env