instow

:)
git clone https://git.sr.ht/~ashymad/instow
Log | Files | Refs | LICENSE

commit 4115ad3f906494fab20750edfbfa2a7d31cfd3d7
parent a7a9d8c8a977abfe9e162093ed450a5e3e76f483
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Mon, 11 May 2026 14:14:21 +0200

Support rinstall for rust for now

Diffstat:
Msrc/main.janet | 6+++++-
Msrc/tools.janet | 1+
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main.janet b/src/main.janet @@ -168,7 +168,9 @@ (checkrun :install/go :go "build" "-v") :build/cargo - (checkrun :install/cargo :cargo "build" "--locked" "--release") + (do + (checkrun :install/cargo :cargo "build" "--locked" "--release") + (if (file/file-exists? "install.yml") (set state :install/rinstall))) :build/pip (do @@ -212,6 +214,8 @@ (stropt "--libpath" libdir) (stropt "--headerpath" (path/join headerdir "janet")) "install") + :install/rinstall + (checkrun :move :rinstall "install" "-y" "--destdir" destdir "--packaging" "--prefix" prefix) :install/cargo (do diff --git a/src/tools.janet b/src/tools.janet @@ -16,6 +16,7 @@ :pip ["pip" "pip3"] :cargo ["cargo"] :meson ["meson"] + :rinstall ["rinstall"] :stow ["stow" "xstow"])) (defn gettool [tool]