diff --git a/scripts/nr b/scripts/nr new file mode 100755 index 0000000..52b76a5 --- /dev/null +++ b/scripts/nr @@ -0,0 +1,6 @@ +#!/usr/bin/env rc + +flag e + +flag x + + +exec nix run 'nixpkgs#'^$* diff --git a/scripts/update-src b/scripts/update-src new file mode 100755 index 0000000..5f1726b --- /dev/null +++ b/scripts/update-src @@ -0,0 +1,14 @@ +#!/usr/bin/env rc + +background=() +for(repo in `{cat downstream}) { + echo Updating $repo + git -C $repo fetch --all --tags --prune --force & + background=($apid $background) +} + +for (i in $background) { + wait $i +} + +echo Done!