github.com/vicanso/lru-ttl@v1.5.1/Makefile (about)

     1  export GO111MODULE = on
     2  
     3  .PHONY: default test test-cover dev hooks
     4  
     5  
     6  # for test
     7  test:
     8  	go test -race -cover ./...
     9  
    10  test-cover:
    11  	go test -race -coverprofile=test.out ./... && go tool cover --html=test.out
    12  
    13  lint:
    14  	golangci-lint run
    15  
    16  hooks:
    17  	cp hooks/* .git/hooks/