make default path shorter

Esse commit está contido em:
David Ascher
2014-01-24 15:09:30 -08:00
commit 5ed0226e9b
2 arquivos alterados com 17 adições e 1 exclusões
+7 -1
Ver Arquivo
@@ -136,7 +136,13 @@ module.exports = function(grunt) {
grunt.task.run('connect:server'); grunt.task.run('connect:server');
}); });
grunt.registerTask('default', 'help message', function() { grunt.registerTask('check_customize', 'see if a component exists, and if not, run customize', function() {
if (! grunt.file.exists('component.html')) {
grunt.task.run('customize');
}
});
grunt.registerTask('default', ['check_customize', 'serve']);
grunt.registerTask('help', 'help message', function() {
grunt.log.writeln(''); grunt.log.writeln('');
grunt.log.writeln('_\'grunt customize\'_ to create your initial component'); grunt.log.writeln('_\'grunt customize\'_ to create your initial component');
grunt.log.writeln('_\'grunt lint\'_ to check your component'); grunt.log.writeln('_\'grunt lint\'_ to check your component');
+10
Ver Arquivo
@@ -0,0 +1,10 @@
1. Fork this repo
2. Rename it (e.g. my-component)
3. Git clone it to your computer
4. CD into it and:
* `npm install`
* `grunt`
5. Go to appmaker, sign in, and add a component, specifying the URL that step 4 gives you.