From 01e3793d393844f42828ef8385151e8fa0bff180 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 4 Mar 2019 14:46:46 -0800 Subject: [PATCH] Add a 'compile-all target, so that smoke output can get to a single line per sucessful compile --- bin/kaleidoscope-builder | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index bfcbb61f..e4dcadce 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -328,6 +328,18 @@ build_all () { done } + +compile_all () { + plugins="$(_find_all)" + + for plugin in ${plugins}; do + export SKETCH="${plugin}" + export LIBRARY="${plugin}" + $0 "${plugin}" compile + done +} + + size () { if [ ! -e "${HEX_FILE_PATH}" ]; then compile