3.0.0 • Published 7 years ago

bin-build v3.0.0

Weekly downloads
1,075,168
License
MIT
Repository
github
Last release
7 years ago

bin-build Build Status

Easily build binaries

Install

$ npm install --save bin-build

Usage

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');
});

API

binBuild.directory(directory, commands)

directory

Type: string

Path to a directory containing the source code.

commands

Type: Array

Commands to run when building.

binBuild.file(file, commands, options)

file

Type: string

Path to a archive file containing the source code.

commands

Type: Array

Commands to run when building.

options

Type: Object

strip

Type: number Default: 1

Strip a number of leading paths from file names on extraction.

binBuild.url(url, commands, options)

url

Type: string

URL to a archive file containing the source code.

commands

Type: Array

Commands to run when building.

options

Type: Object

strip

Type: number Default: 1

Strip a number of leading paths from file names on extraction.

License

MIT © Kevin Mårtensson

cc-pngquant-bincc-jpegtran-binoptipng-bin-plusmozjpeg-plusdssim-binmozjpeg-espngquant-bin-esunblock-block-save-variables@everything-registry/sub-chunk-1235@imagemin-global/advpng-bin@imagemin-global/cwebp-bin@imagemin-global/gifsicle@imagemin-global/jpegoptim-bin@imagemin-global/mozjpeg@imagemin-global/pngquant-bin@mlz/cwebp-bin@mlz/mozjpeg@mlz/optipng-bin@mole-inc/optipng-bin@mole-inc/jpegoptim-bin@mole-inc/mozjpeg@leelen_npm/jpegtran-bin@leelen_npm/mozjpeg@leelen_npm/optipng-bin@leelen_npm/pngquant-bin@leelen_npm/cwebp-bin@leelen_npm/gifsiclejuman-binsciadvfileskim-cwebp-binjeuxuissimulacrassimulacra-binstreamjqlibbpg-binsindresorhus.jsnode-jqnode-jq-asarnode-jq-hazardousxy-gifsiclexy-mozjpegxy-optipng-binxy-pngquant-binegg-cat-clientect-bineep-mozjpeg_linux-binwl-simplehttp2serverminify-kit-gifminify-kit-jpgminify-kit-pngdwebp-binendeavorexperiences-mozjpeg_linux-binendeavorexperiences-pngquant-binmozjpegmozjpeg-binmozjpeg-bin-arm64mozjpeg-bin-wrappermozjpeg-binariesmozjpeg-changbamozjpeg-coding-net-vendormozjpeg-envbinmozjpeg-jpegtran-binmozjpeg-jsdelivrmozjpeg-mirrormozjpeg-tildentestbot-ag@soyjak/utils@snicesoft/optipng-bin@snicesoft/pngquant-bin@snicesoft/cwebp-bin@snicesoft/gifsicle@snicesoft/jpegtran-bin@snicesoft/mozjpeg@porky-prince/mozjpeg@porky-prince/optipng-bin@porky-prince/pngquant-bin@weus/jpegtran-bin@weus/pngquant-bin@remy/node-jq@jigsaw/purescript@paulcbetts/cwebp-bin@yeanzhi/cwebp-bin@yeanzhi/jpegtran-bin@yeanzhi/pngquant-bin@zalastax/nolb-bin-@vheemstra/avifenc-bin@vanportal/van@tora-dev/themekit@xn-sakina/gifsicleadvzip-binadvpng-binalephbarbarpngcrush-binpngquant-bin-cnpngquant-bin-coding-net-vendorpngquant-bin-gleepngquant-bin-local-installpngquant-rawpngquant-res
3.0.0

7 years ago

2.2.0

9 years ago

2.1.3

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago