auspice
Version:
Web app for visualizing pathogen evolution
104 lines (58 loc) • 1.55 kB
Markdown
> Easily build binaries
```
$ npm install --save bin-build
```
```js
const binBuild = require('bin-build');
binBuild.url('http://www.lcdf.org/gifsicle/gifsicle-1.80.tar.gz', [
'./configure --disable-gifview --disable-gifdiff',
'make install'
]).then(() => {
console.log('gifsicle built successfully');
});
binBuild.file('gifsicle-1.80.tar.gz', [
'./configure --disable-gifview --disable-gifdiff',
'make install'
]).then(() => {
console.log('gifsicle built successfully');
});
```
Type: `string`
Path to a directory containing the source code.
Type: `Array`
Commands to run when building.
Type: `string`
Path to a archive file containing the source code.
Type: `Array`
Commands to run when building.
Type: `Object`
Type: `number`<br>
Default: `1`
Strip a number of leading paths from file names on extraction.
Type: `string`
URL to a archive file containing the source code.
Type: `Array`
Commands to run when building.
Type: `Object`
Type: `number`<br>
Default: `1`
Strip a number of leading paths from file names on extraction.
MIT © [Kevin Mårtensson](https://github.com/kevva)