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

Commit

Permalink
work on #31: even fancier README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Grupp committed Feb 4, 2015
1 parent fecf9b7 commit 3541eb4
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,33 +79,36 @@ yo m
```
IMPORTANT: Cordova needs an empty directory to work. Please run any other setup (e.g. `git init`) after running `yo m`.

### Commands
**gulp watch** or **gulp** - prepares everything for development. Get ready to start coding!

### Gulp tasks
#### gulp watch
prepares everything for development. Get ready to start coding!
```
gulp watch
```
Livereloads your application when changing/adding/deleting files to immediately reflect the changes you made. 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 watch-build** - builds into www and watches version in www (good for debugging your build!)
#### gulp watch-build
builds into www and watches version in www. Good for debugging your build!
```
gulp watch-build
```

**gulp --cordova 'build|run|emulate|prepare platform'** - runs the supplied cordova command, builds your app before
#### gulp --cordova 'build|run|emulate|prepare platform'
runs the supplied cordova command, builds your app into www before
```
# runs gulp build before running the actual command
gulp --cordova 'run|build|emulate|prepare <platform>'
```

**gulp --cordova** - local wrapper for cordova cli (won't use global install to be compatible with generated project)
#### gulp --cordova
local wrapper for cordova cli (won't use global install to be compatible with generated project)
```
#arbitrary cordova command
gulp --cordova 'plugin ls'
```

**gulp config** - manage project configuration
#### gulp config
manage project configuration
```
gulp config --setVersion=1.1.0 --setBuild=12 --setBundle=com.new.bundle
```
Expand Down

0 comments on commit 3541eb4

Please sign in to comment.