github.com/wedaly/gospelunk@v0.0.0-20240506220214-89e2d4a79789/Makefile (about)

     1  .PHONY: all fmt build test install install-devtools vet bench clean
     2  
     3  all: fmt build vet test
     4  
     5  fmt:
     6  	gofmt -s -w .
     7  	goimports -w -local "github.com/wedaly/gospelunk" .
     8  
     9  build:
    10  	go build -o gospelunk github.com/wedaly/gospelunk
    11  
    12  test:
    13  	go test ./...
    14  
    15  install:
    16  	go install
    17  
    18  install-devtools:
    19  	go install golang.org/x/tools/cmd/goimports@latest
    20  
    21  vet:
    22  	go vet ./...
    23  
    24  clean:
    25  	rm -rf gospelunk
    26  	go clean ./...