XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

envision/shim: execute cmd from filename

+3 -1
+3 -1
envision/shim.nu
··· 6 6 # Just rename this script to the desired build tool, then prepend it to Envision's PATH environment variable. It will 7 7 # run instead of the system build tool. 8 8 9 + const cmd = path self | path basename 10 + 9 11 def main --wrapped [...args] { 10 12 # Replace working directory with /build in commands 11 13 let args = $args | str replace -a (pwd) /build 12 14 13 15 # TODO: Use latest image from AtomicXR container registry 14 - podman run localhost/xr-multi:latest -v .:/build -- ...$args 16 + podman run localhost/xr-multi:latest -v .:/build -- $cmd ...$args 15 17 }