code.cestus.io/tools/fabricator@v0.4.3/build.mk (about)

     1  # -----------------------------------------------------------------------------
     2  # DEFINES
     3  # -----------------------------------------------------------------------------
     4  
     5  # Directory to compile binaries to
     6  BINDIR                  ?= bin
     7  # List of platforms to target [linux/windows/darwin]
     8  PLATFORMS               ?= linux
     9  # List of architectures to target [amd64/arm64]
    10  ARCHITECTURES           := amd64
    11  # Name of the app used for single application builds
    12  APP 					:= 
    13  # List of applications to build (must reside in ./cmd/<name>)
    14  APPLICATIONS            := fabricator
    15  # Buildtime of a version will be passed as ldflag to go compiler
    16  VERSION_DATE            ?= $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
    17  # Default version
    18  svermakerBuildVersion   ?= 
    19  # GOPRIVATE will disable go cache
    20  export GOPRIVATE        := code.cestus.io
    21  # default docker version 
    22  svermakerHelmLabel 	    ?= unreleased
    23  goModuleBuildVersion    ?= unreleased
    24  # additional LDFGLAGS (e.g. -w -s)
    25  ADDITIONALLDFLAGS       ?=