Permalink
Browse files

Fixed browserify step.

  • Loading branch information...
1 parent ec5a1cb commit ef223e9c6d1194b15e082cbfbceb04c7dec69ace @mcollina mcollina committed Nov 18, 2013
Showing with 11,142 additions and 9,359 deletions.
  1. +0 −22 Makefile
  2. +8 −0 browserify.sh
  3. +11,119 −9,326 build/levelgraph.js
  4. +9 −8 build/levelgraph.min.js
  5. +6 −3 package.json
View
@@ -1,22 +0,0 @@
-test:
- ./node_modules/.bin/mocha --recursive test
-
-bail:
- ./node_modules/.bin/mocha --recursive --bail --reporter spec test
-
-ci:
- ./node_modules/.bin/mocha --recursive --watch test
-
-jshint:
- find lib -name "*.js" -print0 | xargs -0 ./node_modules/.bin/jshint
- find test -name "*.js" -print0 | xargs -0 ./node_modules/.bin/jshint
-
-browserify:
- rm -rf build
- mkdir build
- ./node_modules/.bin/browserify -s levelgraph -r level-js -r levelup ./lib/levelgraph.js > build/levelgraph.js
- ./node_modules/.bin/uglifyjs build/levelgraph.js > build/levelgraph.min.js
- gzip -c build/levelgraph.min.js > build/levelgraph.min.js.gz
- du -h build/*
-
-.PHONY: test
View
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+rm -rf build
+mkdir build
+./node_modules/.bin/browserify -s levelgraph -r level-js -r levelup ./lib/levelgraph.js > build/levelgraph.js
+./node_modules/.bin/uglifyjs build/levelgraph.js > build/levelgraph.min.js
+gzip -c build/levelgraph.min.js > build/levelgraph.min.js.gz
+du -h build/*
Oops, something went wrong.

0 comments on commit ef223e9

Please sign in to comment.