@ -4,7 +4,7 @@ USER = gavaniwast
all: clean dev
dev:
NODE_ENV="development" docker-compose up --build
docker-compose up --build
check:
NODE_ENV="check" docker-compose run back --build
@ -26,7 +26,6 @@ if [[ $NODE_ENV == "debug" ]]; then
npm run start:debug;
elif [[ $NODE_ENV == "check" ]]; then
npm run format && npm run lint; echo "=== FINISH ===";
elif [[ $NODE_ENV == "development" ]]; then
else
npm run dev;
else echo "NODE_ENV value isn't known.";
fi;
@ -6,11 +6,8 @@ VITE_BACK_PORT=$BACK_PORT
EOF
npm install;
if [[ $NODE_ENV == "development" ]]; then
elif [[ $NODE_ENV == "debug" ]]; then
if [[ $NODE_ENV == "check" ]]; then
npm run format && npm run check; echo "=== FINISH ==="
else echo "Nothing to do for that NODE_ENV context.";