summaryrefslogtreecommitdiff
path: root/vendor/github.com/buger/jsonparser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/buger/jsonparser/Makefile')
-rw-r--r--vendor/github.com/buger/jsonparser/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/vendor/github.com/buger/jsonparser/Makefile b/vendor/github.com/buger/jsonparser/Makefile
deleted file mode 100644
index e843368cf..000000000
--- a/vendor/github.com/buger/jsonparser/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-SOURCE = parser.go
-CONTAINER = jsonparser
-SOURCE_PATH = /go/src/github.com/buger/jsonparser
-BENCHMARK = JsonParser
-BENCHTIME = 5s
-TEST = .
-DRUN = docker run -v `pwd`:$(SOURCE_PATH) -i -t $(CONTAINER)
-
-build:
- docker build -t $(CONTAINER) .
-
-race:
- $(DRUN) --env GORACE="halt_on_error=1" go test ./. $(ARGS) -v -race -timeout 15s
-
-bench:
- $(DRUN) go test $(LDFLAGS) -test.benchmem -bench $(BENCHMARK) ./benchmark/ $(ARGS) -benchtime $(BENCHTIME) -v
-
-bench_local:
- $(DRUN) go test $(LDFLAGS) -test.benchmem -bench . $(ARGS) -benchtime $(BENCHTIME) -v
-
-profile:
- $(DRUN) go test $(LDFLAGS) -test.benchmem -bench $(BENCHMARK) ./benchmark/ $(ARGS) -memprofile mem.mprof -v
- $(DRUN) go test $(LDFLAGS) -test.benchmem -bench $(BENCHMARK) ./benchmark/ $(ARGS) -cpuprofile cpu.out -v
- $(DRUN) go test $(LDFLAGS) -test.benchmem -bench $(BENCHMARK) ./benchmark/ $(ARGS) -c
-
-test:
- $(DRUN) go test $(LDFLAGS) ./ -run $(TEST) -timeout 10s $(ARGS) -v
-
-fmt:
- $(DRUN) go fmt ./...
-
-vet:
- $(DRUN) go vet ./.
-
-bash:
- $(DRUN) /bin/bash \ No newline at end of file