processing / processing-android-archive

96 stars 50 forks source link

Issue #1361 Android command-line #1

Closed pif closed 11 years ago

pif commented 11 years ago

I put the processing-android script into the root. Maybe, this should be changed, so that it works in the future.

//...This is getting funny :) I addedprocessing.mode.android.Commander, which can be used for Android command-line build. And here's the corresponding shell-script:processing-android. It is the same asprocessing-java` but calls another class at the end.

Command line edition for Processing 0217 (Android Mode)

--help               Show this help text. Congratulations.

--sketch=<name>      Specify the sketch folder (required)
--output=<name>      Specify the output folder (required and
                     cannot be the same as the sketch folder.)

--force              The sketch will not build if the output
                     folder already exists, because the contents
                     will be replaced. This option erases the
                     folder first. Use with extreme caution!

--target=<target>    "debug" or "release" target.
                     "debug" by default.
--build              Preprocess and compile a sketch into .apk file.
--run=<d|e>          Preprocess, compile, and run a sketch on device
                     or emulator. Device will be used by default.

--export             Export an application.