rsm

Crates.iorsm
lib.rsrsm
version1.0.0
sourcesrc
created_at2021-05-18 18:51:56.192842
updated_at2021-05-18 18:51:56.192842
descriptionA Simple build system based on make
homepagehttps://gitlab.com/yxqsnz/rsm
repositoryhttps://gitlab.com/yxqsnz/rsm
max_upload_size
id399078
size54,998
(yxqsnz)

documentation

README

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 .

Commit count: 28

cargo fmt