mirror of
				https://github.com/go-acme/lego.git
				synced 2025-10-31 08:27:38 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			413 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			413 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| .PHONY: all
 | |
| 
 | |
| GOFILES := $(shell go list -f '{{range $$index, $$element := .GoFiles}}{{$$.Dir}}/{{$$element}}{{"\n"}}{{end}}' ./... | grep -v '/vendor/')
 | |
| 
 | |
| default: clean checks test build
 | |
| 
 | |
| clean:
 | |
| 	rm -rf dist/ builds/ cover.out
 | |
| 
 | |
| build: clean
 | |
| 	go build
 | |
| 
 | |
| test: clean
 | |
| 	go test -v -cover ./...
 | |
| 
 | |
| checks: check-fmt
 | |
| 	gometalinter ./...
 | |
| 
 | |
| check-fmt: SHELL := /bin/bash
 | |
| check-fmt:
 | |
| 	diff -u <(echo -n) <(gofmt -d $(GOFILES))
 |