From 3060d3c4ce12fae2e8b754f13d0e227af2134ab5 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 2 Nov 2013 02:43:11 +0100 Subject: add deploy script we are running hill billy style dependency resolution by cat-ing every lib into the resulting binary --- deploy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 deploy (limited to 'deploy') diff --git a/deploy b/deploy new file mode 100755 index 00000000..5c282398 --- /dev/null +++ b/deploy @@ -0,0 +1,14 @@ +#!/bin/sh +set -x +cd $(dirname $0) +bindir=$PWD/bin/ +libdir=$PWD/lib/ +outdir=$PWD/out/ +# Hill-Billy style package builder +for file in `ls -1 $bindir`;do + # cat every lib and the file itself afterwards into outfile + find $libdir -type f -exec cat '{}' \; > $outdir/$file + cat $bindir/$file >> $outdir/$file + chmod 755 $outdir/$file +done + -- cgit v1.2.3