Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
update README.md to reflect recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Grupp committed Feb 4, 2015
1 parent 7aca7e0 commit 282ea90
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
```
Expand All @@ -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 <platform>'
```

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 <platform>'
#arbitrary cordova command
gulp --cordova 'plugin ls'
```

**gulp config** - manage project configuration
Expand Down

0 comments on commit 282ea90

Please sign in to comment.