Skip to content

Commit

Permalink
remove check for non-macs in scripts/build-offline-dev
Browse files Browse the repository at this point in the history
works fine on ubuntu 20.04 LTS and debian 10 ( buster )
  • Loading branch information
shinenelson committed Jun 5, 2020
1 parent 3043b0e commit 9410fd2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/build/build-offline-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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;

0 comments on commit 9410fd2

Please sign in to comment.