Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add uglifyjs to dev dependencies and switch Makefile to local version

  • Loading branch information...
commit 5e49805a04aa6e3673fdce468ca4bb64a3863b69 1 parent 4b02898
@tmcw tmcw authored
Showing with 6 additions and 3 deletions.
  1. +5 −3 Makefile
  2. +1 −0  package.json
View
8 Makefile
@@ -1,3 +1,5 @@
+UGLIFYJS = ./node_modules/.bin/uglifyjs
+
doc:
./node_modules/.bin/docco control/mm/*.js
@@ -13,15 +15,15 @@ lint:
build/wax.ol.min.js:
cat lib/*.js control/lib/*.js control/ol/*.js > build/wax.ol.js
- uglifyjs build/wax.ol.js > build/wax.ol.min.js
+ $(UGLIFYJS) build/wax.ol.js > build/wax.ol.min.js
build/wax.g.min.js:
cat lib/*.js control/lib/*.js control/g/*.js connectors/g/*.js > build/wax.g.js
- uglifyjs build/wax.g.js > build/wax.g.min.js
+ $(UGLIFYJS) build/wax.g.js > build/wax.g.min.js
build/wax.mm.min.js:
cat ext/reqwest.min.js lib/*.js control/lib/*.js control/mm/*.js connectors/mm/*.js > build/wax.mm.js
- uglifyjs build/wax.mm.js > build/wax.mm.min.js
+ $(UGLIFYJS) build/wax.mm.js > build/wax.mm.min.js
build_setup:
mkdir build
View
1  package.json
@@ -17,6 +17,7 @@
],
"devDependencies": {
"jshint": "0.2.x",
+ "uglify-js": "= x.x.x",
"docco": "0.3.x"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.