scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3trap 'rm -f $tmp1' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp1=tmp1.$$
 7
 8(set -e
 9 $EXEC scc make -if- <<'EOF'
10.POSIX:
11
12all:
13	@echo Hello World!;\
14	false;\
15	echo bye
16EOF
17echo fail) > $tmp1 2> /dev/null
18
19diff $tmp1 - <<EOF
20Hello World!
21bye
22fail
23EOF