diff --git a/scripts/build/build-offline-dev.sh b/scripts/build/build-offline-dev.sh index 3e98eaf..d08a65e 100755 --- a/scripts/build/build-offline-dev.sh +++ b/scripts/build/build-offline-dev.sh @@ -6,7 +6,6 @@ DIST_ROOT="$ORIGIN_ROOT/dist" cp -r $ORIGIN_ROOT/vendor $DIST_ROOT; # replace online refs using offline-refs (so I can work offline too) -if [[ $OSTYPE == darwin* ]]; then # replace in index.html sed -i'' \ -e "s|//cdn.jsdelivr.net/npm|../vendor|g" \ @@ -15,7 +14,3 @@ if [[ $OSTYPE == darwin* ]]; then # replace in spec-runners sed -i'' "s/\/\/cdnjs.cloudflare.com\/ajax\/libs/..\/vendor/g" $DIST_ROOT/mocha/spec-runner.html sed -i'' "s/\/\/cdnjs.cloudflare.com\/ajax\/libs/..\/vendor/g" $DIST_ROOT/jasmine/spec-runner.html -else - echo "To do: make '$0' work on non-Macs"; - exit 1; -fi;