1.1.1 • Published 9 years ago

node-make v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

node-make NPM version NPM downloads Build Status

Task driven build tool.

Full-feature ES2015+ driven task runner.

Install

$ npm install -g node-make

Usage

makefile.js example:

export function clean() {
  // clean `build` directory
  this.fs.delete('./build')
  // or rm('-rf', './build')
}

export function build() {
  this.run('clean')
  // run webpack
  exec('./node_modules/.bin/webpack -p')
}

export default function() {
  console.log('This is the default task!')
  // call task manually
  this.run('build')
}
# run default task
$ mk
# run build
$ mk build

API

cli

CLI arguments parsed by meow, the object contains .input and .flags.

this

.fs

Built-in fs helpers, see usage at mem-fs-editor.

global variables

Built-in unix shell commands, see usage at shelljs.

License

MIT © EGOIST

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.0.4

10 years ago

0.0.32

10 years ago

0.0.31

10 years ago

0.0.3

10 years ago

0.0.26

10 years ago

0.0.25

10 years ago

0.0.24

10 years ago

0.0.23

10 years ago

0.0.22

10 years ago

0.0.21

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.1

10 years ago

0.1.1

13 years ago

0.1.0

13 years ago