hivedav

A curlable free/busy scheduler with CalDAV integration
git clone https://git.in0rdr.ch/hivedav.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

Makefile (394B)


      1 GO=go
      2 GOTEST=$(GO) test
      3 GOCOVER=$(GO) tool cover
      4 GOFMT=gofmt
      5 
      6 hivedav:
      7 	CGO_ENABLED=1 $(GO) build
      8 
      9 .PHONY: all 
     10 all: hivedav
     11 
     12 .PHONY: clean
     13 clean:
     14 	$(GO) clean
     15 	rm -f coverage.out
     16 
     17 .PHONY: fmt
     18 fmt:
     19 	$(GOFMT) -w -s .
     20 
     21 .PHONY: test
     22 test:
     23 	$(GOTEST) ./...
     24 
     25 .PHONY: test/cover
     26 test/cover:
     27 	$(GOTEST) -v -coverprofile=coverage.out ./...
     28 	$(GOCOVER) -func=coverage.out
     29 	$(GOCOVER) -html=coverage.out