github.com/trustbloc/kms-go@v1.1.2/Makefile (about)

     1  # Copyright SecureKey Technologies Inc.
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  
     5  
     6  # Tool commands (overridable)
     7  DOCKER_CMD ?= docker
     8  
     9  GOBIN_PATH=$(abspath .)/build/bin
    10  MOCKGEN=$(GOBIN_PATH)/mockgen
    11  GOMOCKS=pkg/internal/gomocks
    12  
    13  .PHONY: all
    14  all: clean checks unit-test
    15  
    16  .PHONY: checks
    17  checks: license lint
    18  
    19  .PHONY: lint
    20  lint:
    21  	@scripts/check_lint.sh
    22  
    23  .PHONY: license
    24  license:
    25  	@scripts/check_license.sh
    26  
    27  .PHONY: unit-test
    28  unit-test:
    29  	@scripts/check_unit.sh
    30  
    31  .PHONY: clean
    32  clean:
    33  	@rm -rf ./.build
    34  	@rm -rf coverage*.out