github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/Makefile (about)

     1  
     2  ## all: default is to show the help text
     3  .PHONY: all help
     4  all: help
     5  
     6  ci: test lint
     7  
     8  ## vet: run go vet on the source
     9  vet:
    10  	go vet ./...
    11  
    12  ## test: test with race checks
    13  test:
    14  	@ scripts/test.sh
    15  
    16  ## lint: run the linter
    17  lint:
    18  	@ scripts/lint.sh
    19  
    20  #
    21  # help uses all the ## marks for help text
    22  #
    23  .PHONY: help
    24  ## help: prints this help message
    25  help:
    26  	@ echo "Usage: "
    27  	@ echo
    28  	@ echo "Run 'make <target>' where <target> is one of:"
    29  	@ echo
    30  	@ sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' |  sed -e 's/^/ /' | sort