4 releases (2 breaking)
Uses new Rust 2024
new 0.3.0 | Apr 25, 2025 |
---|---|
0.2.1 | Mar 30, 2025 |
0.2.0 | Mar 30, 2025 |
0.1.0 | Mar 29, 2025 |
#174 in Build Utils
409 downloads per month
23KB
559 lines
π₯GORNILOπ₯
GORNILO is a project management tool for Odin
Installation
cargo install gornilo
Usage
Create a project
gornilo new my_project --no-git --no-ols --no-mem-tracking --no-workflows
Build the project
gornilo build --release
Run the project
gornilo run --release
Run an example
gornilo run --release --example my_example
Clean temporary files
gornilo clean
Run tests
gornilo test ./tests --all-packages
Configuration
GORNILO has a configuration file gornilo.toml
which is created in the project's root.
Available options:
[project]
name = "my_project"
[vet_flags]
warnings_as_errors = true
unused_variables = true
unused_imports = true
tabs = true
style = true
semicolon = true
cast = true
[collections]
my_collection = "./my_collection"
[testing]
source_path = "tests"
all_packages = true
Examples
Examples should have the following structure:
my_project
βββ examples
β βββ my_example
β βββ src
β βββ main.odin
Todo
- Retain
odin build
's output formatting - Add ability to run tests
Why Rust?
I wanted to implement GORNILO in Odin, but Odin's standard library has a very poor support for executing command line commands.
Dependencies
~1.3β2MB
~39K SLoC