(Arne Babenhauserheide)
2014-07-15: finally quiet bootstrapping. finally quiet bootstrapping.
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,7 +14,7 @@ ChangeLog :
.INTERMEDIATE: input.in.intermediate
input.in.intermediate: ${wisp_SOURCES}
- @abs_top_srcdir@/bootstrap.sh @abs_top_srcdir@ @guile@ @python3@
+ @abs_top_srcdir@/bootstrap.sh @abs_top_srcdir@ @guile@ @python3@ 2>&1 | sed "s/;;;.*//" 2>&1 | grep . 1>&2 ; test ! $$? -eq 0 # grep did not find anything
.PHONY: syntaxtests.sh
syntaxtests.sh : wisp.scm runtests.sh
diff --git a/bootstrap.sh b/bootstrap.sh
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -26,12 +26,13 @@ if [[ ! x"${diff}" == x"success" ]]; the
echo "failed to bootstrap wisp.scm. diff: " ${diff}
exit 1
fi
-echo "successfully bootstrapped wisp.scm"
-echo preparing the reader: wisp at the REPL
-echo parsing the spec file...
+# put all output into stderr via 1>&2 and prefix it with ;;; to make it possible to kill it alongside the auto-compile output from guile with one sed.
+echo ";;;" "successfully bootstrapped wisp.scm" 1>&2
+echo ";;;" preparing the reader: wisp at the REPL 1>&2
+echo ";;;" parsing the spec file... 1>&2
mkdir -p language/wisp
${guile} wisp.scm ${srcdir}/wisp-reader.w 2>/dev/null > language/wisp/spec.scm \
- && echo ...precompiling the spec file... \
+ && echo ";;;" ...precompiling the spec file... 1>&2 \
&& ${guile} -L . -s language/wisp/spec.scm \
- && echo ...succeeded \
- && echo to use wisp at the REPL, run '`'${guile} -L . --language=wisp'`'
+ && echo ";;;" ...succeeded 1>&2 \
+ && echo ";;;" to use wisp at the REPL, run '`'${guile} -L . --language=wisp'`' 1>&2