aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-02 10:33:38 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-02 10:49:47 +0800
commit37bbc0ccf6ca34c1163384742f172741a5322c75 (patch)
tree77c6b9b03d895be51590f2c410582618b894f320 /README.md
feat: add cross-platform script runner with run.sh and run.ps1
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..291f3d8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+# 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
+```
+
+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.