diff --git a/recipes/shopware6.php b/recipes/shopware6.php index ad3d6ae..6cc199f 100644 --- a/recipes/shopware6.php +++ b/recipes/shopware6.php @@ -73,7 +73,11 @@ }); task('sw:build', static function () { - run('cd {{release_path}} && ./bin/build.sh'); + if (test('[ -f {{release_path}}/bin/build.sh ]')) { + run('cd {{release_path}} && ./bin/build.sh'); + } else { + run('cd {{release_path}} && ./bin/build-js.sh'); + } }); task('sw:touch_install_lock', static function () {