Trans is the command line tool used to build Monkey apps.
Trans works with Monkey projects and ultimately converts them into target projects. A Monkey project consists of:
transcc [-check] [-update] [-build] [-run] [-config=...] [+setting=...] -target=... mainfile.monkey
|-check||Causes the project to be compiled only. The output target project is not touched, useful for error checking.|
|-update||Causes the output target project to be updated, but not built or run.|
|-build||Causes the target project to be updated and built. This is the default.|
|-run||Causes the output target project to be updated, built and run.|
|-config||Must be one of 'debug' or 'release'. Defaults to debug.|
|-target||Must be one of 'android', 'flash', 'glfw', 'html5', 'ios' or 'stdcpp'.|
Arguments starting with + can be used to specify app config settings. Such arguments must be of the form +key=value. Note that boolean settings made this way should be specified using 1 or 0, not True or False, eg: '+GLFW_AUTO_SUSPEND_ENABLED=1'.
When trans is invoked, you must specify at least the target to build and the main source file, eg: "transcc -target=html5 myapp.money". Trans then goes about generating the output app in the .build directory.
In order to locate the SDKs and tools used by different targets, Trans uses a special config file.
This config file is named "config.winnt.txt" or "config.macos.txt" depending on which OS you are using, and is located in your Monkey installation's "bin" directory.
Please refer to the appropriate SDK installation guides for details on how this file may have to be modified.