Skip to content

Commit

Permalink
much needed readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschlinkert committed Jul 30, 2013
1 parent ccf7187 commit 77c610d
Show file tree
Hide file tree
Showing 18 changed files with 192 additions and 1,220 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Jon Schlinkert (https://github.com/jonschlinkert/)
Brian Woodward (https://github.com/doowb/)
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please see the [Contributing to Assemble](http://assemble.io/contributing) guide for information on contributing to this project.
25 changes: 17 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,22 @@ module.exports = function(grunt) {

// package.json
pkg: grunt.file.readJSON('package.json'),

// Metadata
meta: {
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
license: '<%= _.pluck(pkg.licenses, "type").join(", ") %>',
copyright: 'Copyright (c) <%= grunt.template.today("yyyy") %>',
banner:
'/* \n' +
' * <%= pkg.name %> v<%= pkg.version %> \n' +
' * http://assemble.io \n' +
' * \n' +
' * <%= meta.copyright %>, <%= pkg.author.name %> \n' +
' * Licensed under the <%= meta.license %> License. \n' +
' * \n' +
' */ \n\n'
},

jshint: {
options: {
jshintrc: 'tasks/.jshintrc'
Expand Down Expand Up @@ -172,6 +181,7 @@ module.exports = function(grunt) {
}
}
},
// Example config for metadata
component: {
one: "alert"
},
Expand All @@ -194,6 +204,7 @@ module.exports = function(grunt) {
});

// Load npm plugins to provide necessary tasks.
grunt.loadNpmTasks('assemble-internal');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-mocha-test');
Expand All @@ -204,9 +215,7 @@ module.exports = function(grunt) {
// Default task.
grunt.registerTask('default', ['jshint', 'clean', 'assemble']);

// this is just for when doing debugging and jshint blows up
grunt.registerTask('dev', ['clean', 'assemble']);

// Tests to be run.
grunt.registerTask('test', ['default', 'mochaTest']);
grunt.registerTask('docs', ['assemble-internal']);
};
Loading

0 comments on commit 77c610d

Please sign in to comment.