mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 07:35:19 +03:00
24 lines
328 B
Bash
24 lines
328 B
Bash
|
source $stdenv/setup
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
cp -r $src ./pier
|
||
|
chmod -R u+rw ./pier
|
||
|
|
||
|
urbit -d ./pier
|
||
|
|
||
|
cleanup () {
|
||
|
if [ -f ./pier/.vere.lock ]; then
|
||
|
kill $(< ./pier/.vere.lock) || true
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
trap cleanup EXIT
|
||
|
|
||
|
header "running herb +brass"
|
||
|
|
||
|
herb ./pier -P brass.pill -d '+brass'
|
||
|
herb ./pier -p hood -d '+hood/exit'
|
||
|
|
||
|
stopNest
|