This repository was archived by the owner on Oct 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11include common.mk
22
3- CLI_DIR: =$(CURDIR ) /../cli
4- ENGINE_DIR: =$(CURDIR ) /../engine
3+ CLI_DIR: =$(realpath $( CURDIR ) /../cli)
4+ ENGINE_DIR: =$(realpath $( CURDIR ) /../engine)
55STATIC_VERSION: =$(shell static/gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
66
77# Taken from: https://www.cmcrossroads.com/article/printing-value-makefile-variable
Original file line number Diff line number Diff line change 11include ../common.mk
22
3- CLI_DIR: =$(CURDIR ) /../../cli
4- ENGINE_DIR: =$(CURDIR ) /../../engine
3+ CLI_DIR: =$(realpath $( CURDIR ) /../../cli)
4+ ENGINE_DIR: =$(realpath $( CURDIR ) /../../engine)
55GITCOMMIT? =$(shell cd $(CLI_DIR ) && git rev-parse --short HEAD)
66STATIC_VERSION: =$(shell ../static/gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
77GO_BASE_IMAGE =golang
Original file line number Diff line number Diff line change 11include ../common.mk
22
3- ENGINE_DIR : =$(CURDIR ) /../../engine
4- CLI_DIR : =$(CURDIR ) /../../cli
3+ CLI_DIR : =$(realpath $( CURDIR ) /../../cli)
4+ ENGINE_DIR : =$(realpath $( CURDIR ) /../../engine)
55GO_BASE_IMAGE =golang
66ENGINE_GO_IMAGE =$(GO_BASE_IMAGE ) :$(GO_VERSION ) -stretch
77STATIC_VERSION: =$(shell ../static/gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
Original file line number Diff line number Diff line change 11include ../common.mk
22
3- ENGINE_DIR : =$(CURDIR ) /../../engine
4- CLI_DIR : =$(CURDIR ) /../../cli
3+ CLI_DIR : =$(realpath $( CURDIR ) /../../cli)
4+ ENGINE_DIR : =$(realpath $( CURDIR ) /../../engine)
55GITCOMMIT =$(shell cd $(ENGINE_DIR ) && git rev-parse --short HEAD)
66STATIC_VERSION: =$(shell ../static/gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
77GO_BASE_IMAGE =golang
Original file line number Diff line number Diff line change 11include ../common.mk
22
3- SHELL: =/bin/bash
4- ENGINE_DIR: =$(CURDIR ) /../../engine
5- CLI_DIR: =$(CURDIR ) /../../cli
3+ CLI_DIR: =$(realpath $(CURDIR ) /../../cli)
4+ ENGINE_DIR: =$(realpath $(CURDIR ) /../../engine)
65STATIC_VERSION: =$(shell ./gen-static-ver $(ENGINE_DIR ) $(VERSION ) )
76CHOWN =docker run --rm -v $(CURDIR ) :/v -w /v alpine chown
87HASH_CMD =docker run -v $(CURDIR ) :/sum -w /sum debian:jessie bash hash_files
You can’t perform that action at this time.
0 commit comments