1
0
mirror of https://github.com/cmur2/miflorad.git synced 2025-06-26 22:30:24 +02:00

module: setup Travis CI

This commit is contained in:
cn
2018-12-13 16:33:37 +01:00
parent 2a0e220b8e
commit d419347dd3
3 changed files with 32 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
.POSIX:
.PHONY: all
all: clean build test
.PHONY: run
run: clean build test
sudo cmd/munin-miflora/munin-miflora xyz 00:00:00:00:00:00
.PHONY: clean
clean:
rm -f cmd/munin-miflora/munin-miflora
.PHONY: build
build: cmd/munin-miflora/munin-miflora
.PHONY: test
test: build
cmd/munin-miflora/munin-miflora:
cd cmd/munin-miflora && go build && cd ../..