axmol/tools/cmdline
smilediver 9ac6db4384
Add unit tests (#1862)
* Add unit-tests app for running automatic unit tests

* Move unit tests from cpp-tests to unit-tests

* TEMP

* Add FileUtils::fullPathForDirectory() tests

* Use test assets from `axmol-sample-assets` repo

* Add more FileUtils::isFileExist(), FileUtils::isDirectoryExist() tests

* Add `unit-tests` builds to GitHub's workflows

* Fix `.github/worflows/build.yml`
2024-04-30 20:52:28 +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 Rename tools/console ==> tools/cmdline 2024-04-24 02:08:29 +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