github.com/KarpelesLab/weak@v0.1.1/Makefile (about)

     1  #!/bin/make
     2  GOROOT:=$(shell PATH="/pkg/main/dev-lang.go.dev/bin:$$PATH" go env GOROOT)
     3  GOPATH:=$(shell $(GOROOT)/bin/go env GOPATH)
     4  
     5  .PHONY: test deps
     6  
     7  all:
     8  	$(GOPATH)/bin/goimports -w -l .
     9  	$(GOROOT)/bin/go build -v
    10  
    11  deps:
    12  	$(GOROOT)/bin/go get -v -t .
    13  
    14  test:
    15  	$(GOROOT)/bin/go test -v