1
0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-09-19 17:32:57 +00:00
promcertcheck/Makefile

20 lines
549 B
Makefile
Raw Normal View History

2015-09-04 14:27:44 +00:00
VERSION = $(shell git describe --tags)
2015-09-04 13:36:49 +00:00
test:
go generate
go run *.go \
--probe="https://www.cloudkeys.de/" \
--probe="https://foo.hub.luzifer.io/" \
--probe="https://registry.luzifer.io/" \
--probe="https://blog.knut.me/" \
--probe="https://gobuilder.me/" \
--probe="https://pwd.luzifer.io/" \
--probe="https://www.itpad.de/" \
--probe="https://mondash.org/"
2015-09-04 14:27:44 +00:00
container: build
docker build -t luzifer/promcertcheck .
build:
docker run -v $(CURDIR):/src -e LDFLAGS='-X main.version $(VERSION)' centurylink/golang-builder:latest