#system #tasks #constants #yaml #verbose #toml #echo

yanked rsm

A Simple build system based on make

1.0.0 May 18, 2021

#23 in #verbose

Custom license

19KB
368 lines

Rust Make

total_lines

Rust Make is a simple build system written in Rust NOT COMPATIBLE WITH WINDOWS YET.

Example Rust Make Files rsm.build

YAML

#? YAML
verbose: 'normal'

constants:
  - text: Hello, world!
  - text-br: Olá, Mundo!
tasks:
  - all:
    - "exec: echo $(text)"
    - "exec: echo $(text-br)"
  - test: 
    - "exec: echo $(text)"

TOML

#? TOML

[constants]
text = "Hello, world!"
text-br = "Olá, Mundo!"
[tasks] 
  [tasks.main]
  run = [
    "exec: echo $(text-br)",
    "exec: echo $(text)",
    "task: test"
  ]
  [tasks.test]
  run = [
    'exec: echo $(text)'
  ]

Running

Requirements

Run cargo run or cargo r --release

Install cargo install --path .

Dependencies

~1–11MB
~75K SLoC