Hello, Alex Bennée <alex.ben...@linaro.org> writes:
> I'm using org-babel snippets to automate some of my workflow. However > I'm not interested in dumping all of the compile output, I'd rather get > a simple value at the end to see if all was OK: > > #+name: build-test > #+begin_src sh :results value > > set -e > ./configure --cross-prefix=aarch64-linux-gnu- --arch=arm64 > make clean > make -j9 > #+end_src do it with shell? #+begin_src sh :results output ( set -e echo "Build complete: `date`" exit 1 ) 2>&1 > /tmp/log echo success: $? #+end_src Regards hmw