mirror of
https://github.com/cirocosta/monero-exporter.git
synced 2024-12-21 22:05:02 -05:00
55659b7af2
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
30 lines
566 B
Makefile
30 lines
566 B
Makefile
SPACE := $(subst ,, )
|
|
|
|
|
|
install:
|
|
go install -v ./cmd/monero-exporter
|
|
|
|
run:
|
|
monero-exporter \
|
|
--monero-addr=http://localhost:18081 \
|
|
--bind-addr=:9000
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
lint:
|
|
go run github.com/golangci/golangci-lint/cmd/golangci-lint run \
|
|
--config=.golangci.yaml
|
|
|
|
|
|
table-of-contents:
|
|
doctoc --notitle ./README.md
|
|
|
|
|
|
.images.lock.yaml: .images.yaml
|
|
kbld -f $< --lock-output $@
|
|
.PHONY: .images.lock.yaml
|
|
|
|
examples/docker-compose.yaml: .images.lock.yaml ./examples/docker-compose.base.yaml
|
|
kbld --images-annotation=false $(subst $(SPACE), -f , $^) > $@
|