Permalink
Browse files

Use minified scripts for release.

  • Loading branch information...
1 parent 88694f1 commit b9b4ebb510ea653ff03d5b3deaa675947b303526 @reid reid committed Mar 6, 2013
Showing with 6 additions and 2 deletions.
  1. +5 −0 Makefile
  2. +1 −2 scripts/fetch_deps.js
View
@@ -48,6 +48,11 @@ lint:
site: clean html-api html coverage
.PHONY: site
+release-dep:
+ rm -rf dep
+ node scripts/fetch_deps.js
+.PHONY: release-dep
+
clean:
rm -rf build_docs
.PHONY: clean
@@ -48,7 +48,6 @@ function log() {
var options = {
"dev": false,
- "minify": false,
"debug": false
},
argv = [];
@@ -156,7 +155,7 @@ function download(err) {
args[0] = args[0].replace(/[\.\-]min\.js/g, "-debug.js");
}
- if (!options.minify) {
+ if (options.dev) {
args[0] = args[0].replace(/[\.\-]min\.js/g, ".js");
}

0 comments on commit b9b4ebb

Please sign in to comment.