-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (38 loc) · 1.01 KB
/
Copy pathMakefile
File metadata and controls
49 lines (38 loc) · 1.01 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.PHONY: release clean test dep tools check-ver
release: check-ver clean
goxc -wlc -pv=$(ver)
goxc -wlc default publish-github -apikey=$(ghtoken)
goxc -d bin -bc "linux"
clean:
rm -Rf bin
test:
go test -v ./...
dep:
dep ensure
get-tools:
go get -u github.com/golang/dep/cmd/dep
go get -u github.com/laher/goxc
check-ver:
@ if [ "$(ver)" = "" ]; then \
echo "'ver' is not set"; \
exit 1; \
fi
ci-validate:
circleci config validate -c .circleci/config.yml
ci-build:
circleci build
try:
go run main.go check --benchmark ozgur.io \
example.com \
example.org \
example.net \
nobodyshouldhavethisdomain-999.name \
itu.edu.tr \
alsonobodyshouldhavethisdomain-998.info \
example.co.uk \
123123123qweqweqwe123qwe.com \
tostostostostosos123456.co.uk
try-stdin:
cat fixtures/domain_names.txt | go run main.go check --benchmark
try-whois:
go run main.go check --whois ozgur.io example.com example.org example.net itu.edu.tr example.co.uk 123123123qweqweqwe123qwe.com tostostostostosos123456.co.uk