github.com/ppphp/yayagf@v0.0.1/Makefile (about)

     1  all: build test fmt
     2  
     3  .PHONY: fmt build test update install
     4  
     5  export GOPRIVATE:=gitlab.papegames.com/*
     6  export GOPROXY:=https://goproxy.io
     7  
     8  Files=$(shell fd -tf -E testdata -e go)
     9  
    10  fmt:
    11  	goimports -w ${Files}
    12  
    13  build:
    14  	go build
    15  
    16  test:
    17  	go test ${Files}
    18  
    19  update:
    20  	go get -u
    21  	go mod tidy
    22  
    23  install:
    24  	go install .