urbit/sh/load-arvo
benjamin-tlon 3c3f7e761e
Misc cleanup blocking CC-Release. (#1249)
* Move extraneous stuff out of pkg/urbit/*
* s/urb/herb/g
* Removed some boilerplate for `urbit` builds.
* Build urbit tests and run them in the nix build.
2019-04-24 17:27:27 -07:00

22 lines
288 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
test $# -eq 1
ship=$1
# Is a running ship
test -d $ship/.urb
test -f $ship/.vere.lock
herb $ship -p hood -d '+hood/autoload |'
herb $ship -p hood -d "+hood/mount %"
rm -r $ship/home
cp -r pkg/arvo $ship/home
herb $ship -p hood -d "+hood/commit %home"