1.1.1 • Published 8 years ago

node-make v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.0.4

8 years ago

0.0.32

8 years ago

0.0.31

8 years ago

0.0.3

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.1

8 years ago

0.1.1

12 years ago

0.1.0

12 years ago