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 -f- <<'EOF'
10.POSIX:
11
12.IGNORE:
13
14all:
15	@echo Hello World!;\
16	false;\
17	echo bye
18EOF
19echo fail) > $tmp1 2> /dev/null
20
21diff $tmp1 - <<EOF
22Hello World!
23bye
24fail
25EOF