|
Revision 11462, 0.9 kB
(checked in by lyokato, 5 years ago)
|
|
lang/actionscript/as3oauth: initial release
|
| Line | |
|---|
| 1 | == Setup |
|---|
| 2 | |
|---|
| 3 | To include mxmlc, adl and adt (from Flex Builder): |
|---|
| 4 | export PATH="/Applications/Adobe Flex Builder 3/sdks/moxie/bin:$PATH" |
|---|
| 5 | |
|---|
| 6 | To include adl and adt (from Apollo SDK): |
|---|
| 7 | export PATH="/Applications/ApolloSDK/bin:$PATH" |
|---|
| 8 | |
|---|
| 9 | == Creating an AIR project |
|---|
| 10 | |
|---|
| 11 | airake path/to/MyProject com.company.MyProject |
|---|
| 12 | |
|---|
| 13 | will build a project scaffold with application name of MyProject and application id (used for AIR descriptor) of com.company.MyProject |
|---|
| 14 | |
|---|
| 15 | The project includes as3corelib and flexunit, and test scaffolding as well. |
|---|
| 16 | |
|---|
| 17 | == Tasks |
|---|
| 18 | |
|---|
| 19 | Run: rake --tasks |
|---|
| 20 | |
|---|
| 21 | # Compiling |
|---|
| 22 | rake compile |
|---|
| 23 | |
|---|
| 24 | # Running air debug launcher (ADL) |
|---|
| 25 | rake adl |
|---|
| 26 | |
|---|
| 27 | # Start FCSHD (for faster compilation) |
|---|
| 28 | rake fcsh:start |
|---|
| 29 | |
|---|
| 30 | # Stop FCSHD |
|---|
| 31 | rake fcsh:stop |
|---|
| 32 | |
|---|
| 33 | # Restart FCSHD |
|---|
| 34 | rake fcsh:restart |
|---|
| 35 | |
|---|
| 36 | # Running alternate MXML, (the following expects src/Test-app.xml descriptor file) |
|---|
| 37 | rake adl MXML=src/Test.mxml |
|---|
| 38 | |
|---|
| 39 | # Testing |
|---|
| 40 | rake test |
|---|
| 41 | |
|---|
| 42 | # Package AIR file |
|---|
| 43 | rake package |
|---|