From 9238bb78c8ab1e9d4dcb09298b32f66fdf0fd744 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 2 Oct 2014 11:14:49 +0000 Subject: Test that morph can handle binary garbage output in builds --- yarns/implementations.yarn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 71b8af60..0c0daf79 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -282,12 +282,22 @@ another to hold a chunk. name: test-chunk kind: chunk build-system: manual - # `install-commands` is a list of shell commands to run. Commands + # `build-commands` is a list of shell commands to run. Commands # may be on multiple lines, and indeed anything programmatic will # benefit from doing so. Arguably we could have just one command, # but it's split into multiple so that morph can inform us which # command failed without us having to include a lot of status # information in the command and look at the error message. + # `build-commands` are passed MAKEFLAGS to specify build parallelism, + # and are expected to generate files to be installed in `install-files` + build-commands: + # All of morph's building needs to handle binary output, so we can echo + # that out on the command line. + # Trust me, this gets decoded to "echo " then a bunch of binary output. + - !!binary | + ZWNobyBQ1+k661ol3khrsF4VO4HNcuYzwN0LYxEWS8mPmhQiQ7Vu8CME2+gsnKQaoIRIFuUEiLCI + vfIj1GTdXG6cVTJfNQ== + install-commands: - copy files EOF -- cgit v1.2.1