Skip to content
Snippets Groups Projects
Commit 00875bd8 authored by Anthony's avatar Anthony
Browse files

Add WIping CLI

parent e82d857f
No related branches found
No related tags found
Loading
......@@ -37,8 +37,7 @@ case $action in
cd $MIRADOR_FOLDER && docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c "cd /opt && npm install && npm run build:es"
;;
"build-mirador-plugin")
cd $MIRADOR_ANNOTATION_FOLDER/$MIRADOR_FOLDER && docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c "cd /opt && npm install && npm run build:es"
cd .. && docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c "cd /opt && npm install && npm run build"
cd $MIRADOR_ANNOTATION_FOLDER && docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c "cd /opt && npm install && npm run build"
;;
"clean-mirador")
cd $MIRADOR_FOLDER && rm -R -f node_modules package-lock.json
......@@ -64,6 +63,12 @@ case $action in
"up")
$cmdup $@
;;
"init-submodules")
git submodule init
;;
"update-submodules")
git submodule update
;;
*)
echo "ERROR: No command given"
usage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment