Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update sizes.sh
  • Loading branch information
basti1302 committed Feb 10, 2017
1 parent 5369847 commit 419e6bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/sizes.sh
Expand Up @@ -7,7 +7,7 @@ set -e
bin_path=`dirname $0`
pushd $bin_path/.. > /dev/null

browserify_cmd=node_modules/grunt-browserify/node_modules/browserify/bin/cmd.js
browserify_cmd=node_modules/.bin/browserify

# This browserify build can be used by users of the module. It contains a
# UMD (universal module definition) and can be used via an AMD module
Expand All @@ -20,8 +20,9 @@ $browserify_cmd \
--outfile browser/dist/traverson.js \
--standalone traverson

# https://github.com/hughsk/disc needs to be installed globally
discify browser/dist/traverson.js > disc.html

xdg-open disc.html
open disc.html

popd > /dev/null

0 comments on commit 419e6bd

Please sign in to comment.