git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/Makefile (about)

     1  # Update dependencies
     2  .PHONY: update_deps
     3  update_deps:
     4  	go get -u ./...
     5  	go mod tidy
     6  	go mod tidy
     7  
     8  .PHONY: tidy
     9  tidy:
    10  	go mod tidy
    11  
    12  .PHONY: fmt
    13  fmt:
    14  	go fmt ./...
    15  
    16  .PHONY: test
    17  test:
    18  	CGO_ENABLED=0 go test ./...