Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use minified scripts for release.

  • Loading branch information...
commit b9b4ebb510ea653ff03d5b3deaa675947b303526 1 parent 88694f1
@reid reid authored
Showing with 6 additions and 2 deletions.
  1. +5 −0 Makefile
  2. +1 −2  scripts/fetch_deps.js
View
5 Makefile
@@ -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
View
3  scripts/fetch_deps.js
@@ -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");
}
Please sign in to comment.
Something went wrong with that request. Please try again.