From 2de954b15f37c49cff12c8dc64421f567ff0a538 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 2 Jul 2026 15:33:15 +0800 Subject: feat: add project landing page with install and usage docs --- .nojekyll | 0 index.html | 300 ++++++++++++++++++++++++++++++++++++++++++++++++++++ install/install.ps1 | 1 + install/install.sh | 1 + 4 files changed, 302 insertions(+) create mode 100644 .nojekyll create mode 100644 index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html new file mode 100644 index 0000000..b7fe1bf --- /dev/null +++ b/index.html @@ -0,0 +1,300 @@ + + + + + + run - script runner + + + +
+

+ ./run.sh +

+

Screw "make", I just want a script runner

+

+ Drop any script into .run/src/bin/ — Rust, C#, + Python, Shell, Ruby, Go, etc.
+ One command to list, one command to run. No Makefile, no config. +

+ +
+ + +
+ +
+ Install + $ curl -fsSL + https://raw.githubusercontent.com/catilgrass/run/refs/heads/master/install/install.sh + | bash + $ chmod +x run.sh +
+ + + +
+ Usage + $ ./run.sh + # list all scripts + $ ./run.sh + hello + # run by name + $ ./run.sh + 3 + # run by number + $ ./run.sh + 3 Hello World + # with arguments +
+ +
+ + + + + + diff --git a/install/install.ps1 b/install/install.ps1 index f9853ff..acf569c 100644 --- a/install/install.ps1 +++ b/install/install.ps1 @@ -9,6 +9,7 @@ git clone "https://github.com/catilgrass/run" $repoDir Write-Host "Removing unwanted files..." Remove-Item -Path "$repoDir/README.md", "$repoDir/LICENSE" -Force -ErrorAction SilentlyContinue +Remove-Item -Path "$repoDir/.nojekyll", "$repoDir/index.html" -Force -ErrorAction SilentlyContinue Remove-Item -Path "$repoDir/install" -Recurse -Force -ErrorAction SilentlyContinue Write-Host "Removing git data..." diff --git a/install/install.sh b/install/install.sh index 59b2656..b7e23f4 100644 --- a/install/install.sh +++ b/install/install.sh @@ -12,6 +12,7 @@ git clone https://github.com/catilgrass/run "$REPO_DIR" echo "Removing unwanted files..." rm -f "$REPO_DIR/README.md" "$REPO_DIR/LICENSE" +rm -f "$REPO_DIR/.nojekyll" "$REPO_DIR/index.html" rm -rf "$REPO_DIR/install" echo "Removing git data..." -- cgit