Skip to content
Snippets Groups Projects
Select Git revision
  • 735375b2dd2079722cad506ebecce5ecbec097f3
  • master default protected
  • v1.23.2
  • v1.23.1
  • v1.23.0
  • v1.22.0
  • v1.21.1
  • v1.21.0
  • v1.20.3
  • v1.20.2
  • v1.20.1
  • v1.20.0
  • v1.19.4
  • v1.19.3
  • v1.19.2
  • v1.19.1
  • v1.19.0
  • v1.18.2
  • v1.18.1
  • v1.18.0
  • v1.17.0
  • v1.16.1
22 results

runnable-mail_test.go

Blame
  • licenses.mk 1.04 KiB
    #############################################################################################
    #############################################################################################
    ##
    ## LICENSE
    ##
    #############################################################################################
    #############################################################################################
    
    ifeq ($(GO),)
      $(error $(ERRORMARKER) Go is not defined, check your Makefile if go.mk is included)
    endif
    
    ifneq "$(wildcard $(SOURCE_PATH) )" ""
      ## Files wich should be checked for license headers
      LICENSE_FILE_PATTERN ?= $(shell find $(SOURCE_PATH) -type f \( -iname \*.go -o -iname \*.php -o -iname \*.js -o -iname \*.mjs -o -iname \*.cjs \) )
    endif
    
    # https://spdx.github.io/spdx-spec/v2.3/SPDX-license-list/
    ADDLICENSE_BIN ?= addlicense
    ifeq ($(shell command -v $(ADDLICENSE_BIN) 2> /dev/null),)
      $(shell $(GO) install github.com/google/addlicense@latest)
      EXECUTABLES = $(EXECUTABLES:-) $(ADDLICENSE_BIN);
    endif
    
    EXECUTABLES = $(EXECUTABLES:-) $(ADDLICENSE_BIN)