Commit 041afc71 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Utilise ./src et ./public comme paramètres par défaut du script.

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -28,8 +28,8 @@ case "$1" in ...@@ -28,8 +28,8 @@ case "$1" in
;; ;;
esac esac
export SRC="$(checkdir $2)" export SRC="$(checkdir ${2:-src})"
export OUTPUT="$(checkdir $3)" export OUTPUT="$(checkdir ${3:-public})"
BASE="$(dirname $(readlink -f $0))/.." BASE="$(dirname $(readlink -f $0))/.."
exec "$BASE/node_modules/.bin/gulp" --cwd "$BASE" "$COMMAND" exec "$BASE/node_modules/.bin/gulp" --cwd "$BASE" "$COMMAND"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment