39 releases

0.1.38 Jun 19, 2022
0.1.37 Jun 12, 2022
0.1.32 Apr 20, 2021
0.1.31 Feb 7, 2021
0.1.18 Dec 31, 2020

#83 in Build Utils

Download history 6/week @ 2022-11-23 1/week @ 2022-11-30 2/week @ 2022-12-07 39/week @ 2022-12-21 3/week @ 2022-12-28 1/week @ 2023-01-04 1/week @ 2023-01-11 8/week @ 2023-01-18 6/week @ 2023-01-25 6/week @ 2023-02-01 116/week @ 2023-02-08 117/week @ 2023-02-15 7/week @ 2023-02-22 78/week @ 2023-03-01

241 downloads per month

MIT license

26KB
538 lines

Rust Application Build Workflow

About

  • A simple task runner like make.

Getting started

cargo install rmake

How to run the first task

rmake

How to run the specified task

rmake {name of task}

Show usage

rmake --help

rmake.toml is as

[env]
MY_ENV_01 = "Hello,"

[variables]
MY_VAR_02 = "World!"

[[tasks]]
description = "anything"
name = "world"
depends_on = ["hello"]
command = [
	"ECHO {{MY_VAR_02}}",
]

[[tasks]]
description = "anything"
name = "hello"
depends_on = []
command = [
	"!MKDIR .tmp", # SAFE with "!"
	"!DEL /S /Q .tmp\\*", # SAFE with "!"
	"ECHO %MY_ENV_01%",
]

Future Plans

  • Build causes NO AFFECTS when no modified files found.

lib.rs:

rmake - A simple task runner like make.

No API documentations here. See https://crates.io/crates/rmake

Dependencies

~1.7–2.4MB
~51K SLoC