mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-11 10:46:43 +03:00
* 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"
|