Crates.io | amethyst_cli |
lib.rs | amethyst_cli |
version | 0.1.5 |
source | src |
created_at | 2016-01-07 08:11:43.330751 |
updated_at | 2016-01-27 21:57:36.874435 |
description | Deprecated, merged into amethyst_tools |
homepage | |
repository | https://github.com/ebkalderon/amethyst_cli |
max_upload_size | |
id | 3842 |
size | 47,834 |
Command-line interface for creating and deploying Amethyst game projects. This project is a work in progress and very incomplete; pardon the dust!
The CLI interface is intentionally very similar to Cargo, so it is easily
intelligible to Rustaceans. Unfortunately, it is very limited at the moment in
terms of features. Below are the subcommands hacked together implemented so
far.
Generates an empty game project, a fresh white canvas for your next masterpiece. The default directory structure is laid out like this:
project/
├── Cargo.toml
├── resources
│ ├── config.yml
│ ├── entities/
│ ├── input.yml
│ └── prefabs/
└── src
└── main.rs
Compiles the current project. It's currently just a frontend for cargo build
,
but more features are in the works, like Lua or mruby script
precompilation and offline GPU shader compilation for APIs that support it.
And no, you're not dreaming. The --release
flag doesn't work yet.
Removes the target
directory. Again, just like in Cargo. One day, this will
have switches whether or not to clear out said precompiled scripts or cached
shader program bytecode.
Runs the main binary of the project. A frontend to cargo run
. Proposed extra
features include real-time profiling and debugging, and manual skipping of
levels when playtesting. Oh, and --release
doesn't work here yet either.
Performs a clean rebuild of the game and engine, runs any unit and integration
tests if there are any, zips up the resources
directory, and places it and
the game binary in a directory called deployed
.
Grabs forthcoming Amethyst engine modules (e.g. rendering, scripting, physics,
etc.) from either crates.io or GitHub, configures your Cargo.toml
and
modifies the resources
directory accordingly. Once a new module is installed
and configured, just drop your assets into the appropriate folders and you can
start writing your game logic.
Amethyst is an open-source project that values community contribution. Pull requests are welcome!
We assume you have granted non-exclusive right to your source code under the
GNU General Public License 3.0 and you have processed your code with rustfmt
prior to
submission. If you want to be known as an author, please add your name to the
AUTHORS.md file in the pull request.