aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: ae9909c502bd51c30d097f4ed894ca1a318473fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 'run'

> Screw "make", I just want a script runner

Sometimes when working on projects, I need cross-platform operation. I don't want to install something like `just` or `make`. I just want to write some scripts, drop them in, and run them. That's it.

This is the solution:

- Rust program? Drop it in `.run/src/bin/myscript.rs`
- C#? Drop it in `.run/src/bin/myscript.cs`
- Python? Drop it in `.run/src/bin/myscript.py`
- Shell? PowerShell? Same!

Any script can be dropped in. After that, just run `.\run.ps1 script-name` or `./run.sh script-name`.

## Install

For Linux:

```bash
curl -fsSL https://raw.githubusercontent.com/catilgrass/run/refs/heads/master/install/install.sh | bash
chmod +x run.sh
```

For Windows:

```bash
iwr -useb https://raw.githubusercontent.com/catilgrass/run/refs/heads/master/install/install.ps1 | iex
```

## License

WTFPL — drop it into your project and use it.