jacobdeichert / mask

🎭 A CLI task runner defined by a simple markdown file
MIT License
1.11k stars 55 forks source link

Support Rust as a scripting language #98

Closed brandonros closed 1 year ago

brandonros commented 1 year ago
# Tasks For My Project

<!-- A heading defines the command's name -->
## build

<!-- A blockquote defines the command's description -->
> Builds my project

<!-- A code block defines the script to be executed -->
~~~rust
fn main() {
  println!("Hello, world!");
}
~~~
$ mask build
ERROR: No such file or directory (os error 2)
brandonros commented 1 year ago

Looks like I can sh https://rust-script.org/

jacobdeichert commented 1 year ago

Hey! Sorry, I currently don't have plans to support any compiled languages for now.

The various supported scripting runtimes cover 99% of use cases people expect in mask as a command runner.

I'm glad to see rust-script exists to fill this use case though!