]> pd.if.org Git - ctap/commitdiff
allow prove to read from stdin
authorNathan Wagner <nw@hydaspes.if.org>
Tue, 21 Aug 2018 10:43:18 +0000 (10:43 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Tue, 21 Aug 2018 10:43:18 +0000 (10:43 +0000)
A -n option will set the name to use for the stdin test,
which defaults to "<stdin>".

Makefile
prove [new file with mode: 0755]

index e416fabec2304c616554ef753bf18c704b6ccfa7..7005a00cb275798e93ff699906548b3013d5f3f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
 OBJS := ctap.o main.o
 CFLAGS := -Wall
 
+all: prove
+
 main:  $(OBJS)
        $(CC) $(CFLAGS) -o $@ $+
 
diff --git a/prove b/prove
new file mode 100755 (executable)
index 0000000..e18fada
Binary files /dev/null and b/prove differ