axmol/tools/cmdline
smilediver 561b8c2349
Enable running `unit-tests` in GitHub workflow (#1871)
* Enable running `unit-tests` in GitHub workflow

* Attempt to fix macOS unit-tests run

* Use axmol run to run unit-tests

* Skip launch when desktop cpu mismatch

* Skip launch when desktop cpu mismatch

* Fix unit-tests crash on linux

* GitHub Action: divide osx arm64, x64 to differrent runner image

---------

Co-authored-by: Deal <halx99@live.com>
2024-05-01 22:24:53 +08:00
..
README.md Rename tools/console ==> tools/cmdline 2024-04-24 02:08:29 +08:00
axmol Add missing permision for cmdline tool 2024-04-24 02:24:42 +08:00
axmol.bat Rename tools/console ==> tools/cmdline 2024-04-24 02:08:29 +08:00
axmol.ps1 Enable running `unit-tests` in GitHub workflow (#1871) 2024-05-01 22:24:53 +08:00
axmol_new.ps1 Rename tools/console ==> tools/cmdline 2024-04-24 02:08:29 +08:00
build.ps1 Add unit tests (#1862) 2024-04-30 20:52:28 +08:00

README.md

axmol-cmdline

Vision of axmol-cmdline

A command line tool that lets you create, run, publish, debug, etc… your game. It is the swiss-army knife for axmol.

Examples:

# starts a new project called "My Game" for multi-platform

$ axmol new MyGame -l cpp -p org.axmol.mygame

$ cd MyGame

# Will deploy the project to device and run it
$ axmol run -p android


Devel Info

Internals

axmol.ps1 is an script whose only responsability is to call its plugins. axmol.bat will invoke axmol.ps1 on windows axmol will invoke axmol.ps1 on Mac OS X and linux

To get a list of all the registered plugins:

$ axmol -h

To run the "new" plugin:

$ axmol new