зеркало из
1
0
Форкнуть 0
INACTIVE - http://mzl.la/ghe-archive - Common build tasks and configuration files for the node-firefox project
Перейти к файлу
Matthew Riley MacPherson f329b88e9f Merge pull request #10 from mozilla/fix-9
Fix #9
2015-09-28 11:53:18 +01:00
bin Add init-project binary for bootstrapping modules 2015-01-22 18:20:29 -05:00
lib Add watch task 2015-01-21 16:49:45 -05:00
support Add init-project binary for bootstrapping modules 2015-01-22 18:20:29 -05:00
.gitignore Create first version of build tools 2015-01-10 01:41:04 -05:00
.jscsrc Fix #9 2015-04-01 23:24:07 +03:00
.jshintrc Create first version of build tools 2015-01-10 01:41:04 -05:00
.travis.yml Bump version number 2015-01-22 16:51:17 -05:00
LICENSE Create first version of build tools 2015-01-10 01:41:04 -05:00
README.md Add init-project binary for bootstrapping modules 2015-01-22 18:20:29 -05:00
gulpfile.js Add init-project binary for bootstrapping modules 2015-01-22 18:20:29 -05:00
index.js Create first version of build tools 2015-01-10 01:41:04 -05:00
package.json Bump version for project-init binary 2015-01-22 18:20:53 -05:00

README.md

node-firefox-build-tools

Common build tasks and configuration files for the node-firefox project.

Install with NPM

Right now this is just a set of common gulp tasks and style checks.

Usage

Install first: npm install --save-dev node-firefox-build-tools.

If you are not using gulp in your module yet, now is the right time to add it:

npm install --save-dev gulp

Then either create a gulpfile.js or edit the existing one to start using the build tools:

var gulp = require('gulp');
var buildTools = require('node-firefox-build-tools');

buildTools.loadGulpTasks(gulp);

Available tasks

lint

Run quality and style checks on your code.

nodeunit

Run all nodeunit tests matching tests/unit/**/test.*.js

test

Run linters and tests. You may want to override this task.

watch

Run linters and tests whenever code is updated. This is handy if you want instant feedback on code you write! (This is the default task.)

Bootstrap for new node-firefox modules

You can use the included node-firefox-init-project binary to copy our up-to-date Gulpfile and TravisCI files into your project. This means even less work when you create a new node-firefox module:

cd node-firefox-something-something # go to your project on the command line
node-firefox-init-project # create your files; you're finished!

License

This program is free software; it is distributed under an Apache License.

Copyright (c) 2015 Mozilla (Contributors).