Grunt task for the jspot library
This plugin requires Grunt
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-jspot --save-dev
Run this task with the
grunt jspot command
.apply or multiline.
This Grunt task is a very simple passthrough task to use jspot withing your Gruntfile.
In your project's Gruntfile, add a section named
jspot to the data object passed into
Task source files are forward to jspot as the jspot source option. jspot default is
Task destination must be a folder. It is forward to jspot as the jspot target option -which has nothing to do with your own task's target, do not be confuse between grunt target and jspot target. jspot default is
Keyword to search for in source files. This allow you to use any alias for gettext.
This grunt task is just a passthrough for the jspot library. If you need some cool feature, maybe you should ask to jspot authors.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.