Introduction
Introduction Statistics Contact Development Disclaimer Help
Add Makefile-s - csvtofsv - Convert CSV to FSV (`fs' (0x1c) as FS and `rs' (0x1…
hg clone https://bitbucket.org/iamleot/csvtofsv
Log
Files
Refs
README
---
changeset c4a06b0cfc35a2777bdc8ea14f43e45dd31ce6c5
parent 4e2c2f36e4096c4d84d31a4db1d8dd682aabe52a
Author: Leonardo Taccari <[email protected]>
Date: Tue, 25 Jun 2019 23:43:12
Add Makefile-s
Diffstat:
Makefile | 8 ++++++++
t/Makefile | 14 ++++++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)
---
diff -r 4e2c2f36e409 -r c4a06b0cfc35 Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile Tue Jun 25 23:43:12 2019 +0200
@@ -0,0 +1,8 @@
+PROG= csvtofsv
+
+MKMAN= no
+
+check: csvtofsv
+ cd ${.CURDIR}/t && ${MAKE} check
+
+.include <bsd.prog.mk>
diff -r 4e2c2f36e409 -r c4a06b0cfc35 t/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/t/Makefile Tue Jun 25 23:43:12 2019 +0200
@@ -0,0 +1,14 @@
+TESTS= 01 02
+
+CSVTOFSV?= ../csvtofsv
+
+clean:
+.for t in ${TESTS}
+ rm -f ${t}.tmp.fsv
+.endfor
+
+check:
+.for t in ${TESTS}
+ ${CSVTOFSV} < "${t}.csv" > "${t}.tmp.fsv"
+ cmp "${t}.fsv" "${t}.tmp.fsv"
+.endfor
You are viewing proxied material from tccr.it. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.