github.com/terraform-linters/tflint-ruleset-azurerm@v0.26.0/Makefile (about)

     1  default: build
     2  
     3  test:
     4  	go test $$(go list ./... | grep -v integration)
     5  
     6  e2e:
     7  	cd integration && go test && cd ../
     8  
     9  build:
    10  	go build
    11  
    12  install: build
    13  	mkdir -p ~/.tflint.d/plugins
    14  	mv ./tflint-ruleset-azurerm ~/.tflint.d/plugins
    15  
    16  lint:
    17  	golint --set_exit_status $$(go list ./...)
    18  	go vet ./...
    19  
    20  tools:
    21  	go install golang.org/x/lint/golint@latest
    22  
    23  updateSubmodule:
    24  	cd ./tools/apispec-rule-gen/azure-rest-api-specs/
    25  	git submodule update --init --recursive
    26  	cd ../../..
    27  
    28  
    29  
    30  .PHONY: test e2e build install lint tools updateSubmodule