Permalink
Browse files

much needed readme update

  • Loading branch information...
1 parent ccf7187 commit 77c610d0241007946d58d6d8e289783aa9fdab53 @jonschlinkert jonschlinkert committed Jul 30, 2013
View
@@ -0,0 +1,2 @@
+Jon Schlinkert (https://github.com/jonschlinkert/)
+Brian Woodward (https://github.com/doowb/)
View
@@ -0,0 +1 @@
+Please see the [Contributing to Assemble](http://assemble.io/contributing) guide for information on contributing to this project.
View
@@ -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'
@@ -172,6 +181,7 @@ module.exports = function(grunt) {
}
}
},
+ // Example config for metadata
component: {
one: "alert"
},
@@ -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');
@@ -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']);
};
Oops, something went wrong.

0 comments on commit 77c610d

Please sign in to comment.