Skip to content

Commit

Permalink
updated readme and added license
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed Jan 31, 2012
1 parent 4bc7e54 commit 6b905a4
Show file tree
Hide file tree
Showing 3 changed files with 475 additions and 30 deletions.
74 changes: 44 additions & 30 deletions README.md
@@ -1,42 +1,66 @@
Cordova COHO
======= =======


These are documenting the manual steps required to make Cordova/PhoneGap Release. Our goal is to automate these as much as possible. Coho is a script that automates the release process for building PhoneGap releases. Future releases will hopefully be able to build official Cordova releases.


Perquisites Prerequisites
=========== -------------
- Must be run on a Mac with Lion installed - Must be run on a Mac with Lion installed
- Must have joDoc installed
- Must have git setup - Must have git setup
- Install joDoc
- Clone [joDoc](http://github.com/davebalmer/jodoc)

git clone http://github.com/davebalmer/joDoc.git

- Add joDoc/ to your path

Open `~/.bashrc` or `~/.profile` (or whatever you use)

export PATH=$PATH:~/path/to/joDoc/

- Install markdown

# Use your package manager
brew install markdown
port install markdown
aptitude install markdown

- Install nokogiri (Ruby HTML parser)

gem install nokogiri

- Install json (Ruby JSON parser)

gem install json


Usage Usage
===== -----


coho 1.3.0 coho 1.4.0
// creates phonegap-1.3.0.zip // creates phonegap-1.4.0.zip


coho 1.3.0 1.2.0 coho 1.4.0 1.3.0
// creates phonegap-1.3.0.zip with the changes made since 1.2.0 // creates phonegap-1.4.0.zip with the changes made since 1.3.0

make
// runs coho 1.4.0 1.3.0 and the unit tests






### the process Manual Process

--------------


1. create a directory 1. create a directory
2. download the shit 2. download the shit




iOS iOS
===
- Pull tagged version of cordova-ios - Pull tagged version of cordova-ios
- Check if version file is up to date - Check if version file is up to date
- CD into cordova-ios and run make on a Lion machine - CD into cordova-ios and run make on a Lion machine
- Copy DMG file from dist folder into iOS release folder - Copy DMG file from dist folder into iOS release folder



Android Android
=======
- Pull tagged version of cordova-android - Pull tagged version of cordova-android
- Check if version file is up to date - Check if version file is up to date
- CD into directory and run create command - CD into directory and run create command
Expand All @@ -46,48 +70,38 @@ Android
- Make sure index.html in example/assets/www is correctly referencing phonegap-1.3.0.js - Make sure index.html in example/assets/www is correctly referencing phonegap-1.3.0.js
- Copy example folder into android release folder - Copy example folder into android release folder



BlackBerry BlackBerry
==========
- Pull tagged version of cordova-blackberry - Pull tagged version of cordova-blackberry
- Check if version file is up to date - Check if version file is up to date
- CD into cordova-blackberry and run ant dist - CD into cordova-blackberry and run ant dist
- Copy contents of dist directory to blackberry release folder - Copy contents of dist directory to blackberry release folder


Windows Phone Windows Phone
=============
- Pull tagged version of cordova-windows-phone - Pull tagged version of cordova-windows-phone
- Copy contents of cordova-windows-phone into windows phone release directory - Copy contents of cordova-windows-phone into windows phone release directory


Bada Bada
====
- Pull tagged version of cordova-bada - Pull tagged version of cordova-bada
- Check if version file is up to date - Check if version file is up to date
- Copy contents of cordova-bada to bada release folder - Copy contents of cordova-bada to bada release folder



WebOS WebOS
=====
- Pull tagged version of cordova-webos - Pull tagged version of cordova-webos
- Check if version file is up to date - Check if version file is up to date
- Copy contents of cordova-web0s to webOS release folder - Copy contents of cordova-web0s to webOS release folder



Symbian (Has been deprecated)
Symbian
=======
- Pull tagged version of cordova-symbian - Pull tagged version of cordova-symbian
- Check if version file is up to date - Check if version file is up to date
- Copy contents of cordova-symbian to symbian release folder - Copy contents of cordova-symbian to symbian release folder




Docs Docs
====
- Pull tagged version of cordova-docs - Pull tagged version of cordova-docs
- CD phonegap-docs and run command ./bin/phonegap-docs - CD phonegap-docs and run command ./bin/phonegap-docs
- Copy contents of Public folder into docs release folder - Copy contents of Public folder into docs release folder


Issues & Concerns Issues
================= ------
- Every project needs to have a VERSION file in it to double check the tagged version (Currently missing in windows-phone and docs). Failing tests are expected.
- Currently using callback repo for files. Need to switch this to apache git servers but need all the tags for each repo updated first Please file all issues at https://github.com/stevengill/coho/issues
- Need to implement shortlog command to create changelog. Will have to take version number and do some string manipulation to get previous version (1.3.0 to 1.2.0) or add it as a parameter of the script

0 comments on commit 6b905a4

Please sign in to comment.