From 282ea90fcc5349896c74450925c0de5da4b31f76 Mon Sep 17 00:00:00 2001 From: Jonathan Grupp Date: Wed, 4 Feb 2015 12:20:02 +0100 Subject: [PATCH] update README.md to reflect recent changes --- README.md | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index d5a3f1a..2208c1d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [daviddm-image]: https://david-dm.org/mwaylabs/generator-m.svg?theme=shields.io [daviddm-url]: https://david-dm.org/mwaylabs/generator-m [coveralls-image]: https://coveralls.io/repos/mwaylabs/generator-m/badge.png?branch=master -[coveralls-url]: https://coveralls.io/r/mwaylabs/generator-m?branch=master +[coveralls-url]: https://coveralls.io/r/mwaylabs/generwator-m?branch=master ## Why you need it Build mobile Cordova/PhoneGap apps quickly with the tools you love: @@ -43,13 +43,6 @@ Additionally we use: ## Install -**yeoman** - if you don't have it already - http://yeoman.io/ - -``` -npm install -g yo -``` - -**generator-m** ``` npm install -g generator-m ``` @@ -71,27 +64,24 @@ IMPORTANT: Cordova needs an empty directory to work. Please run any other setup ``` gulp watch ``` +Restart this task when you're adding modules and bower components! This is because gulp will only notify the creation of the new folders, not the individual files inside. -**gulp build** - builds into www, cleans before every build -``` - gulp build -``` **gulp watch-build** - builds into www and watches version in www (good for debugging your build!) ``` gulp watch-build ``` -**gulp --cordova** - local wrapper for cordova cli (won't use global install to be compatible with generated project) +**gulp --cordova 'build|run|emulate|prepare platform'** - runs the supplied cordova command, builds your app before ``` - #arbitrary cordova command - gulp --cordova 'plugin ls' + # runs gulp build before running the actual command + gulp --cordova 'run|build|emulate|prepare ' ``` -cordova build/run/emulate/prepare +**gulp --cordova** - local wrapper for cordova cli (won't use global install to be compatible with generated project) ``` - # runs gulp build before running the actual command - gulp --cordova 'run|build|emulate|prepare ' + #arbitrary cordova command + gulp --cordova 'plugin ls' ``` **gulp config** - manage project configuration