2.1.1 • Published 7 years ago

mako-cli v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

mako-cli

A command line interface for running mako builds.

npm version npm dependencies npm dev dependencies

Install

This can be installed via npm:

sudo npm install -g mako-cli

This will install it globally, but using it locally is likely more flexible. Either way, you get access to a mako command that you can run.

Usage

This tool takes configuration from a file, rather than passing options directly to the CLI. This was chosen because it was more flexible and easier to maintain. You can load config from either a .makorc file, or in your package.json under a property called mako.

{
  "entries": [
    "index.{js,css}"
  ],
  "plugins": [
    "mako-browser"
  ]
}

Upon running mako, it will load the mako-browser plugin and run on the entry files index.js and index.css.

API

  Usage: mako [options] [entries...]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -C, --cache          turn on caching
    -v, --verbose        turn on verbose logging
    -w, --watch          rebuild when changes occur
    -q, --quiet          only log errors

If you specify any entries, it will use those in place of those specified in the mako.json, allowing you to do only a subset of the overall build.

Debugging

Currently, the logging is very minimal. This will be improved in future versions, but in the meantime, you can leverage the underlying debug tool by adding DEBUG=mako* to your command prompt.

$ DEBUG=mako* mako index.js
2.1.1

7 years ago

2.1.0

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.13.2

8 years ago

0.13.1

8 years ago

0.12.2

8 years ago

0.12.1

8 years ago

0.12.0

8 years ago

0.11.0

8 years ago

0.10.0

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.8.8

8 years ago

0.8.7

8 years ago

0.8.6

8 years ago

0.8.5

8 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago