Skip to content

Commit

Permalink
fix: no framework
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Aug 15, 2023
1 parent 72ff65d commit 0025044
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bin/fl-install
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@ EOF
studio load "../workbench/*"

# Setup the local framework development repository if there is a composer.json file inside framework
if [ -f "../framework/composer.json" ]; then
if [ -d "../framework" && -f "../framework/composer.json" ]; then
# then load it
studio load "../framework/framework/*"
studio load "../framework/extensions/*"
studio load "../framework/php-packages/*"

# Set minimum-stability to dev
composer config minimum-stability dev
# Set prefer-stable to true
composer config prefer-stable true
fi

# Set minimum-stability to dev
composer config minimum-stability dev

# Set prefer-stable to true
composer config prefer-stable true

# Download dependencies
composer install --optimize-autoloader --no-interaction --no-progress

Expand Down

0 comments on commit 0025044

Please sign in to comment.