The stupid force-flag toggler.
This plugin requires Grunt ~0.4.0
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-force --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-force');
Sets the force
option to true
.
Sets the force
option to false
.
Sets the force
option back to its original value. Defaults to false
, but would be true
if Grunt was executed with the --force
flag.
grunt.registerTask('default', [
'force:on',
'csslint',
'jshint',
'force:off',
'testTask',
'force:reset',
'buildTask'
]);
Standards for this project, including tests, code coverage, and semantics are enforced with a build tool. Pull requests must include passing tests with 100% code coverage and no linting errors.
© 2015 Shannon Moeller [email protected]
Licensed under MIT