preact-material-components
Version:
preact wrapper for "Material Components for the web"
70 lines (38 loc) • 1.13 kB
Markdown
> Easily build binaries
```
$ npm install --save bin-build
```
```js
var BinBuild = require('bin-build');
var build = new BinBuild()
.src('http://www.lcdf.org/gifsicle/gifsicle-1.80.tar.gz')
.cmd('./configure --disable-gifview --disable-gifdiff')
.cmd('make install');
build.run(function (err) {
console.log('gifsicle built successfully');
});
```
Creates a new `BinBuild` instance.
Type: `number`
Strip a number of leading paths from file names on extraction.
Type: `string`
Accepts a URL to a archive containing the source code, a path to an archive or a
path to a directory containing the source code.
Type: `string`
Add a command to run when building.
Type: `function`
Runs the build and returns an error if something has gone wrong
MIT © [Kevin Mårtensson](https://github.com/kevva)