This is sample output generated by the grunt-init "gruntplugin" template.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tasks
test
.gitignore
.jshintrc
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

grunt-init "gruntplugin" sample

This is sample output generated by the grunt-init "gruntplugin" template.

Note: this repository was generated dynamically using grunt-init v0.2.0rc1. Instead of reporting issues here, please report any issues with this init template as grunt-init issues. Instead of watching or forking this repository, watch grunt-init instead.

Project Creation Transcript

The following is a transcript of the session in which this project and repository were created. This is not actually a part of the grunt-init "gruntplugin" template, this session transcript was added afterwards. The text after the $ are the commands that were executed, and everything else is program output.

If you want to see the repository exactly as it was created by grunt-init, view the "generated" branch.

Note that this entire build process is automated by a rather complex expect script, which is used to automate grunt-init in order to facilitate the creation of this and other sample repositories.

$ mkdir grunt-init-gruntplugin-sample && cd grunt-init-gruntplugin-sample

$ git init
git remote add origin git@github.com:gruntjs/grunt-init-gruntplugin-sample.git
Initialized empty Git repository in /private/tmp/grunt-init-gruntplugin-sample/.git/

$ git remote add origin git@github.com:gruntjs/grunt-init-gruntplugin-sample.git

$ grunt-init gruntplugin
Running "init:gruntplugin" (init) task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.

"gruntplugin" template notes:
The grunt plugin system is still under development. For more information, see
the docs at https://github.com/gruntjs/grunt/blob/master/docs/plugins.md

Please answer the following:
[?] Project name (grunt-init-gruntplugin-sample) 
[?] Description (The best grunt plugin ever.) 
[?] Version (0.1.0) 
[?] Project git repository (git://github.com/gruntjs/grunt-init-gruntplugin-sample.git) 
[?] Project homepage (https://github.com/gruntjs/grunt-init-gruntplugin-sample) 
[?] Project issues tracker (https://github.com/gruntjs/grunt-init-gruntplugin-sample/issues) 
[?] Licenses (MIT) 
[?] Author name ("Cowboy" Ben Alman) 
[?] Author email (none) 
[?] Author url (http://benalman.com/) 
[?] What versions of grunt does it require? (~0.4.0rc2) 
[?] What versions of node does it run on? (>= 0.8.0) 
[?] Do you need to make any changes to the above before continuing? (y/N) 

Writing .gitignore...OK
Writing .jshintrc...OK
Writing .npmignore...OK
Writing Gruntfile.js...OK
Writing README.md...OK
Writing tasks/init_gruntplugin_sample.js...OK
Writing test/expected/custom_options...OK
Writing test/expected/default_options...OK
Writing test/fixtures/123...OK
Writing test/fixtures/testing...OK
Writing test/init_gruntplugin_sample_test.js...OK
Writing LICENSE-MIT...OK
Writing package.json...OK

Initialized from template "gruntplugin".

Done, without errors.

$ tree -I node_modules
.
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── package.json
├── tasks
│   └── init_gruntplugin_sample.js
└── test
    ├── expected
    │   ├── custom_options
    │   └── default_options
    ├── fixtures
    │   ├── 123
    │   └── testing
    └── init_gruntplugin_sample_test.js

4 directories, 10 files

$ npm install >/dev/null 2>&1 # You typically want to see the output of this command.

$ grunt
Running "jshint:all" (jshint) task
>> 3 files lint free.

Running "clean:tests" (clean) task

Running "init_gruntplugin_sample:default_options" (init_gruntplugin_sample) task
Warning: Cannot call method 'forEach' of undefined Use --force to continue.

Aborted due to warnings.

$ tree -I node_modules
.
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── package.json
├── tasks
│   └── init_gruntplugin_sample.js
└── test
    ├── expected
    │   ├── custom_options
    │   └── default_options
    ├── fixtures
    │   ├── 123
    │   └── testing
    └── init_gruntplugin_sample_test.js

4 directories, 10 files

$ git add .

$ git commit -m 'Committing sample grunt-init "gruntplugin" template output.'
[master (root-commit) bda79a6] Committing sample grunt-init "gruntplugin" template output.
 12 files changed, 349 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 .jshintrc
 create mode 100644 Gruntfile.js
 create mode 100644 LICENSE-MIT
 create mode 100644 README.md
 create mode 100644 package.json
 create mode 100644 tasks/init_gruntplugin_sample.js
 create mode 100644 test/expected/custom_options
 create mode 100644 test/expected/default_options
 create mode 100644 test/fixtures/123
 create mode 100644 test/fixtures/testing
 create mode 100644 test/init_gruntplugin_sample_test.js