Sha256: 7008f5508a5310ef94b5eef28067a80165cfba2e7ce3e7d7df8065987d87dd7c

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# Rake Cordova

[![Gem Version](https://badge.fury.io/rb/cordova-rake.png)](http://badge.fury.io/rb/cordova-rake)

The missing cordova tasks. And the better: On Ruby!

## Install

    gem install cordova-rake


## Use

Add to your `Rakefile`

    require 'cordova-rake'

If you don't have one

    echo "require 'cordova/rake'" > Rakefile


## rake -T

```
rake compile         # Compiles all resources
rake compile:css     # Compiles SASS -> CSS
rake compile:html    # Compiles HAML -> HTML
rake compile:js      # Compiles Coffee -> JS
rake compile:vars    # Postcompile ENV variables
rake release:apple   # Deploy to Apple’s App Store
rake release:google  # Deploy to Google’s Play Store
rake ripple          # Prepare & Ripple emulate
rake run:android     # Run on Android device or emulator
rake run:ios         # Run on iOS plugged device or emulator
rake serve           # Phonegap Dev App, optional: port
rake setup           # Setup env for development
```


## Google | Play Store


### Binaries

Make sure you have `jarsigner` and `zipalign` on your path.
The latter is usually somewhere in /opt/android-sdk.


### Key password

To avoid typing keys on eack apk build:
Rakefile:

    GOOGLE_KEY = 'mykeypassword'

Or an ENV var 'GOOGLE_KEY'


## Apple | App Store


### Binaries

Make sure you have `xcrun`.
Also you need to open the project once in Xcode. (working on xproject gem)

### Developer

To change developer per project:

    APPLE_DEVELOPER = 'Developer X (XXXXX)'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cordova-rake-0.0.5 README.md