X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mkfile;h=47c18066bf31597ff354f017d2da0815cf0789d4;hb=3c0b08700ba142e2cf0bea9991c858c98c076d8a;hp=300ac9d7edb60e6b6e034ee5e064fa1a9fd7bd22;hpb=19f94e4bfe7f6898d89a79cf01f1824c876cfb38;p=~andy%2Frhawk diff --git a/mkfile b/mkfile index 300ac9d..47c1806 100644 --- a/mkfile +++ b/mkfile @@ -2,11 +2,15 @@ CFLAGS = -g -Wall -fPIC --std=c99 CPPFLAGS = -I/usr/include/awk -I. -DHAVE_CONFIG_H test:Q: + rm -f var/sp_cur.json #awk -f rhawk < testirc.txt #awk -f rhawk < testirc.txt - awk -f test.awk test.txt \ - | awk '-vDEBUG=1' -frhawk \ - #| grep 'points\|bid\|took' + awk -f test.awk spades.txt \ + | awk '-vDEBUG=1' -frhawk 2>&1 1>/dev/null \ + | grep -v '^ > \(USER\|NICK\|CAP\|JOIN\|TOPIC\|WHO\)' \ + | grep -v '^ . .*\(ACCOUNT\|IDENTIFY\|unicode\|colors\)' \ + | sed -e 's/^ > PRIVMSG #\w* :/rhawk:\t/' \ + -e 's/^ < :\([^!]*\)![^ ]* PRIVMSG #\w* :/\1:\t/ ' test-select:Q: select.so #awk -f select.awk