buildtools

Utilities for use in Jake/Cake/Coke build files.

buildtools

A noseful of utilities for Coke/Cake/Jake files.

  • fs
  • path
    • dirname
    • basename
    • extname
    • resolve
    • relative
    • normalize
    • join as joinPath
    • existsSync as exists
  • child_process:
    • spawn
    • exec
  • underscore: underscore, u, _, __
  • underscore.string: _.str, _.mixin _.str.exports()
  • node-seq: Seq
  • eyes: eyes
    • inspector
    • inspect
  • colors: colors
  • cli-table: Table
  • glob: glob
  • commondir: commondir
  • print(...args) -- write to stdout without newline.
  • say(...args) = out -- write to stdout and append newline.
  • sh(cmd, [cb]) -> void
  • run(cmd, args=[], options={}) -> Process
  • coco(args, options) -> Process
  • minify
  • cssmin
  • bundle
  • bundle_js
  • bundle_css
  • getVersion
  • writeVersionFile
  • read = slurp = fs.readFileSync
  • write = spit = fs.writeFileSync
  • remove = rm = removeSync
  • removeAsync
  • ls = dir = fs.readdirSync
  • expand
  • isFile = isFileSync
  • isFileAsync
  • isDirectory = isDirectorySync
  • isDirectoryAsync
  • mkdirp = mkdirpSync
  • mkdirpAsync
  • sourceFiles
  • glob
  • commondir