using folio to compile

This commit is contained in:
Jake Luer 2012-06-30 22:54:54 -04:00
parent 1e8dbc101f
commit 4a69d85028

View file

@ -1,20 +1,24 @@
var folio = require('folio');
folio('chai')
.loglevel('info')
.root(__dirname, '..')
.out('./')
.min(false)
.strategy(folio.requires())
.package('chai')
.use(folio.requires())
.dir('./lib')
.package('chai')
.entry('./chai.js')
.ignore('./chai/error.js')
.replace('./chai/error', './chai/browser/error')
.replace('./error', './browser/error')
.pop()
.strategy(folio.wrapper())
.use(folio.indent())
.line(' ')
.pop()
.use(folio.wrapper())
.template('amd')
.package('chai')
.expose("require('chai')")
.pop()
.use(folio.save())
.file('./chai.js')
.pop()
.compile();