rmake

Crates.iormake
lib.rsrmake
version0.1.38
sourcesrc
created_at2020-12-22 15:21:35.13041
updated_at2022-06-19 02:27:23.301165
descriptionA simple task runner like make
homepage
repositoryhttps://github.com/mass10/rmake/
max_upload_size
id326045
size31,066
Masaru Irisawa 入澤 賢 (mass10)

documentation

https://docs.rs/crate/rmake/

README

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.
Commit count: 330

cargo fmt