8000 GitHub - ChuguluGames/PGT
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ChuguluGames/PGT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGT (PhoneGapTools)

PGT is a tool created to simplify and accelerate the creating/building/deploying/running of an Android based application.

Requirement

Installation

Add an alias to the PGT folder: alias pgt="~/Tools/PhoneGap-Tools/pgt"
Change the CALLBACK_ANDROID_PATH in the config file

Options

  • -path : specify the project path for external calls
  • -target : specify the target device(default: first connected device, available: "device", "emulator", @"device_name")
  • -help : activate the help
  • -log : specify the log(default: "debug", available: "phonegap")
  • -no-log : desactivate the logs
  • -no-phonegap : not a phongap project (pgt should be used in the application folder)
  • -activity : specify the application main activity (default: name of the parent folder)
  • -package : specify the application package (default: com.activity_tolowercase | com.phonegap.activity_tolowercase if it's a phonegapproject)
  • -phonegap-version : specify the phonegap version (default: 1.3.0)
  • -builder : specify the custom builder (default: false)
  • -www-folder : specify the folder used for the assets (default: false)
  • -debug : forcing compilation mode debug (overrided in pgt debug)
  • -release : forcing compilation mode release (overrided in pgt release)

Examples

Create application

pgt create

Configure application

pgt config

Save options

pgt set pgt set -target "my_emulator" -package "my_package"

Build application

pgt build

Compil application

pgt compil

Clean the application (delete all bin and gen files)

pgt clean

Deploy application

pgt deploy

Run application

pgt run

Build, compil, deploy and run in debug mode

pgt debug

Build, compil, deploy and run in release mode

pgt release

Stop the activity

pgt stop

Uninstall

pgt uninstall

Listing available devices

pgt devices

Restart adb bridge

pgt devices restart

Stop adb bridge

pgt devices stop

Start adb bridge

pgt devices start

Advanced

pgt debug -target "myemulator" -path "my/application/path/" -apk "my/apk/path"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0