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

Download history 203/week @ 2025-03-24 133/week @ 2025-03-31 21/week @ 2025-04-07 93/week @ 2025-04-21

409 downloads per month

MIT license

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