Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Standard init:gruntplugin with better test functionality.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
src
test
.gitignore
.npmignore
LICENSE-MIT
README.md
grunt.js
package.json

README.md

grunt-init-gruntplugin2 Donate on Gittip

Standard init:gruntplugin with better test functionality.

Attribution to grunt-less for file structure.

Getting Started

Install grunt-init-gruntplugin2 globally and call it from the shell

sudo npm install -g grunt-init-gruntplugin2
grunt-init-gruntplugin2

The gruntplugin2 template should be added to your grunt userDir (~/.grunt for Linux or %USERPROFILE% for Windows).

You can now call grunt init:gruntplugin2 and the init prompt will start.

Manual Install

Clone the repository, enter the directory, and run grunt to install grunt-init-gruntplugin2.

git clone git://github.com/twolfson/grunt-init-gruntplugin2.git
cd grunt-init-gruntplugin2
grunt

Documentation

Aside from the regular set of items provided by grunt init:gruntplugin. The following changes have occurred:

  • Tests are now run via npm test. This executes grunt from the command line within the test directory.
  • Your task is a multiTask by default rather than a task.
  • The test will read in a file as specified in test/grunt.js, generate one through your task, and test against that.
  • test/actual is a temporary directory for writing test files to. This is inheritly ignored by .gitignore.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint your code using grunt and test via npm test.

Release History

(Nothing yet)

License

Copyright (c) 2012 Todd Wolfson Licensed under the MIT license.

Something went wrong with that request. Please try again.