Skip to content

Commit 0761ee3

Browse files
committed
feat: install dep always
1 parent dd5bb41 commit 0761ee3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

yaml-generation/generateDimensions.bash

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@
66
# ./generateDimensions.bash --test-urls Test URLs in implementations.yaml
77

88
cd "$(dirname "$0")"/..
9-
pwd
9+
pwd
1010

1111
# Use: docker | podman
1212
if [ -z "${DOCKER_CMD}" ]; then
1313
DOCKER_CMD=docker
1414
fi
1515

16-
if [ "$1" = "--install" ]; then
17-
echo Installing composer dependencies...
18-
MSYS_NO_PATHCONV=1 $DOCKER_CMD run -ti --rm --volume ${PWD}:/app wurstbrot/dsomm-yaml-generation bash -c 'cd /app/yaml-generation && composer install --no-interaction --no-plugins --no-scripts --prefer-dist'
16+
echo Installing composer dependencies...
17+
MSYS_NO_PATHCONV=1 $DOCKER_CMD run -ti --rm --volume ${PWD}:/app wurstbrot/dsomm-yaml-generation bash -c 'cd /app/yaml-generation && composer install --no-interaction --no-plugins --no-scripts --prefer-dist'
1918

20-
elif [ "$1" = "--start-dsomm" ]; then
19+
if [ "$1" = "--start-dsomm" ]; then
2120
echo "Starting local DSOMM application..."
2221
MSYS_NO_PATHCONV=1 $DOCKER_CMD run -ti --rm --volume $(pwd)/src/assets/YAML/generated/generated.yaml:/srv/assets/YAML/generated/generated.yaml -p 8080:8080 wurstbrot/dsomm
2322

0 commit comments

Comments
 (0)