Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add uglifyjs to dev dependencies and switch Makefile to local version

  • Loading branch information...
commit 5e49805a04aa6e3673fdce468ca4bb64a3863b69 1 parent 4b02898
Tom MacWright authored
Showing with 6 additions and 3 deletions.
  1. +5 −3 Makefile
  2. +1 −0  package.json
8 Makefile
View
@@ -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
1  package.json
View
@@ -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.