Skip to content

Thommil/tge-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install tge-cli

To get the client, run:

go get github.com/thommil/tge-cli

The command line tool should be available in the GOPATH/bin folder.

Create new application

The create a new application workspace, run:

tge-cli init [package-name]

Ideally, the package-name should be based on standard Go package rules (ex: gihtub.com/thommil/my-app) but local package also works (ex: my-app).

An application folder will be created with all needed resources to begin. See Go Doc for details.

Help extract:

tge-cli init creates a TGE workspace.

Usage:
    tge-cli init package

Package argument can be of several forms:
    local   ex: my-app
    url     ex: github.com/me/my-app

In both cases, the last token will be used as worspace root.

Build the application

Once the application folder is created, releases can be generated using:

tge-cli build -target [target] [package-path]

Target allows to build yoour application for Desktop, Mobile or Web backend. See tge-cli for full details on how to use it.)

Targets details:

Help extract:

tge-cli build build and deploys TGE applications.

Usage:
    tge-cli build [-target TARGET] [-dev] [-v] [-bundleid ID] packagePath

The package path must point to a valid TGE application, the generated
application will be stored in the dist/$TARGET folder.

-target     defines the application target:
                desktop (default)
                browser
                android
                ios

            For desktop target, the generated application depends on current OS:
                MacOS   -> darwin
                Windows -> windows
                Linux   -> linux

            For each target, the corresponding folder in your workspace will contain
            additional ressources for more customization (see README.md files)

-dev        dev flag allows to generate application faster by omitting assets copy.
            Desktop applications are not packed and console remains opened.
            On Android the resulting APK will support all architectures.
            Debug mode is also enabled.

-v          verbose output for debugging purpose

-bundleid  is mandatory for IOS build and can be obtained from Apple Developer.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages