index.js
function buildOnce(config) {
  // verify config
  if (!lintConfig(config)) throw new Error('invalid config')

  // set default holder
  if (!config.holder) {
    config.holder = { name: 'app', stub: 'epii' }
  }

  // prepare static dir
  shell.mkdir('-p', config.$path.target.client)
  shell.mkdir('-p', config.$path.target.vendor)

  // process source
  pureRecipe(config, CONTEXT)
  viewRecipe(config, CONTEXT)
  sassRecipe(config, CONTEXT)
  fileRecipe(config, CONTEXT)
}
function buildOnce(config) {
  // verify config
  if (!lintConfig(config)) throw new Error('invalid config')

  // set default holder
  if (!config.holder) {
    config.holder = { name: 'app', stub: 'epii' }
  }

  // prepare static dir
  shell.mkdir('-p', config.$path.target.client)
  shell.mkdir('-p', config.$path.target.vendor)

  // process source
  pureRecipe(config, CONTEXT)
  viewRecipe(config, CONTEXT)
  sassRecipe(config, CONTEXT)
  fileRecipe(config, CONTEXT)
}
function buildOnce ( config ) { // verify config if ( ! lintConfig ( config ) ) throw new Error ( 'invalid config' ) // set default holder if ( ! config . holder ) { config . holder = { name : 'app' , stub : 'epii' } } // prepare static dir shell . mkdir ( '-p' , config . $path . target . client ) shell . mkdir ( '-p' , config . $path . target . vendor ) // process source pureRecipe ( config , CONTEXT ) viewRecipe ( config , CONTEXT ) sassRecipe ( config , CONTEXT ) fileRecipe ( config , CONTEXT ) }
build once, default production
build once default production