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

#48 in Build Utils

Download history 99/week @ 2022-03-14 99/week @ 2022-03-21 2/week @ 2022-04-18 203/week @ 2022-04-25 265/week @ 2022-05-02 35/week @ 2022-05-09 562/week @ 2022-05-16 169/week @ 2022-05-23 308/week @ 2022-05-30 171/week @ 2022-06-06 40/week @ 2022-06-13 10/week @ 2022-06-20 44/week @ 2022-06-27

375 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.2–2MB
~39K SLoC