From 01438f00d44adf33f59da729b347eca60cb461a8 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 6 Aug 2021 15:53:53 +0100 Subject: implement do-link to simplify linking .do files --- do-link | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 do-link (limited to 'do-link') diff --git a/do-link b/do-link new file mode 100755 index 0000000..189e899 --- /dev/null +++ b/do-link @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +set -e +type=$1 +. "$2" # .do file which we are "interpreting" +redo-ifchange "$0" "link-$type.tool" "${objects[@]}" +shift 2 +. "./link-$type.tool" +"${cmd[@]}" -- cgit v1.2.3-54-g00ecf