diff options
Diffstat (limited to '.graveyard/ship')
-rwxr-xr-x | .graveyard/ship/deploy | 9 | ||||
-rw-r--r-- | .graveyard/ship/develop | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/.graveyard/ship/deploy b/.graveyard/ship/deploy new file mode 100755 index 00000000..cb71d570 --- /dev/null +++ b/.graveyard/ship/deploy @@ -0,0 +1,9 @@ +#!/bin/sh +set -xeuf +cd $(dirname $0) +exesrcdir=src +libsrcdir=lib +tmpoutdir=tmp +for file in `ls $exesrcdir`; do + BUILD_PATH=$libsrcdir ./build compile $exesrcdir/$file $tmpoutdir/$file +done diff --git a/.graveyard/ship/develop b/.graveyard/ship/develop new file mode 100644 index 00000000..a961f9c2 --- /dev/null +++ b/.graveyard/ship/develop @@ -0,0 +1,5 @@ +#!/bin/sh +source_all(){ + LIBDIR=${1:-.} + for i in $LIBDIR/*; do . "$i"; done +} |