mirror of
https://github.com/chaijs/chai
synced 2024-11-14 15:57:10 +00:00
using folio to compile
This commit is contained in:
parent
1e8dbc101f
commit
4a69d85028
1 changed files with 10 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue