Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove --noop and --sans options

  • Loading branch information...
commit fe9b532c4c577130dd6c2569b6fb3a5ccd2562c9 1 parent 7f323a8
@amccollum amccollum authored
Showing with 1 addition and 6 deletions.
  1. +1 −2  lib/main-build-util.js
  2. +0 −4 resources/help/build.tmpl
View
3  lib/main-build-util.js
@@ -45,7 +45,6 @@ var uniquePackages = function (packages) {
}
, isBasePackage = function (options, p) {
- if (options.noop || options.sans) return false
return DependencyGraph.getBasePackageNames(options).indexOf(packageUtil.cleanName(p)) != -1
}
@@ -54,7 +53,7 @@ var uniquePackages = function (packages) {
, packageList = function (options) {
var packages = options.packages && options.packages.length ? options.packages : [ '.' ]
- if (!options.noop && !options.sans) packages = DependencyGraph.getBasePackageNames(options).concat(packages)
+ packages = DependencyGraph.getBasePackageNames(options).concat(packages)
return uniquePackages(packages)
}
View
4 resources/help/build.tmpl
@@ -5,10 +5,6 @@
{red}+ options:{/red}
- {yellow}--sandbox{/yellow} prevent global leakage of Ender lib variables, passing additional arguments will define the specified packages directly on the window
+ example: {cyan}$ ender build jeesh backbone --sandbox backbone{/cyan}
- - {yellow}--noop{/yellow} (or {yellow}-x{/yellow}) build the raw sources of each module without the ender-js client library
- + example: {cyan}$ ender build jeesh backbone --noop{/cyan}
- - {yellow}--sans{/yellow} build without the ender-js client library, but include bridges and common JS stitches.
- + example: {cyan}$ ender build jeesh --sans{/cyan}
- {yellow}--output{/yellow} (or {yellow}-o{/yellow}) write Ender library to path with custom name
+ example: {cyan}$ ender build mootools-class --output ../public/js/mootools.js{/cyan}
+ (above example would generate a mootools.js file as well as a mootools.min.js file in the ../public/js/ dir.)
Please sign in to comment.
Something went wrong with that request. Please try again.