mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 18:01:32 +03:00
3c3f7e761e
* 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.
22 lines
288 B
Bash
Executable File
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"
|