blob: f94cb8ea37d7165d53bee688957f0b61fc6947a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
.PHONY: all fmt install test clean distclean play
PWD=$(shell pwd)
GOPATH:=${PWD}:${GOPATH}
OLDBIN:=${GOBIN}
GOBIN:=${PWD}
all:
go get -v globster/...
fmt:
go fmt globster/...
install:
GOBIN="${OLDBIN}" go install globster
test:
go test globster/...
clean:
rm -rf globster pkg
distclean: clean
rm -rf src/blicky.net
# Yorhel's playground.
play: all
@./globster -l sock &echo $$!>pid;\
perl -I../tanja/perl ../tanja/perl/tanja-cli.pl -vc $$PWD/sock;\
kill `cat pid`;\
rm -f sock pid
|