You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
554 B
18 lines
554 B
/**
|
|
* @license
|
|
* https://github.com/bitcoincashjs/bitcoincashjs
|
|
* Copyright (c) 2018 Emilio Almansi
|
|
* Distributed under the MIT software license, see the accompanying
|
|
* file LICENSE or http://www.opensource.org/licenses/mit-license.php.
|
|
*/
|
|
|
|
var shell = require('shelljs')
|
|
shell.config.fatal = true
|
|
|
|
shell.rm('-rf', '.build')
|
|
shell.mkdir('-p', '.build')
|
|
|
|
shell.exec('find test/ -type f -name "*.js"', { silent: true })
|
|
.exec('xargs npx browserify -t brfs', { silent: true })
|
|
.to('.build/tests.js')
|
|
shell.echo('Generated file: .build/tests.js.')
|
|
|