github.com/octohelm/cuemod@v0.9.4/Makefile (about)

     1  WAGON=wagon -p ./wagon.cue
     2  CUEM = go run ./cmd/cuem
     3  
     4  INTERNAL_FORK = go run ./tool/internalfork
     5  
     6  fork.go.internal:
     7  	$(INTERNAL_FORK) \
     8  		-p cmd/go/internal/modload \
     9  		-p cmd/go/internal/modfetch \
    10  		-p internal/godebug \
    11  		./internal
    12  
    13  ship:
    14  	$(WAGON) do go ship pushx
    15  
    16  archive:
    17  	$(WAGON) do go archive --output ./.wagon/output
    18  
    19  install:
    20  	go install ./cmd/cuem
    21  
    22  fmt:
    23  	goimports -l -w .
    24  
    25  tidy:
    26  	go mod tidy
    27  
    28  test:
    29  	go test -failfast ./pkg/...
    30  
    31  dep:
    32  	go get -u -t ./cmd/...
    33  
    34  cuem.fmt:
    35  	$(CUEM) fmt -l -w ./...
    36  
    37  cuem.get.u:
    38  	$(CUEM) get -u ./...
    39  
    40  cuem.get:
    41  	$(CUEM) get -i=go k8s.io/api k8s.io/apimachinery
    42  	$(CUEM) get github.com/innoai-tech/runtime@main
    43