17 lines
261 B
Makefile
17 lines
261 B
Makefile
.PHONY: build test run install fixture
|
|
|
|
build:
|
|
go build -o bin/hp-viz ./cmd/hp-viz/
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
install: build
|
|
cp bin/hp-viz $(DESTDIR)/usr/local/bin/
|
|
|
|
fixture:
|
|
./bin/hp-viz --fixture tests/fixtures/sse-sample.txt
|
|
|
|
run:
|
|
./bin/hp-viz --url $(URL)
|