mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 09:44:13 +00:00
fix use of toolversion by using absolute GIT_ROOT
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
66c2d0d9cb
commit
0ce74b1da9
@ -1,4 +1,5 @@
|
|||||||
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
||||||
|
GIT_ROOT = $(shell git rev-parse --show-toplevel)
|
||||||
|
|
||||||
# Software Versions, URLs, and Checksums
|
# Software Versions, URLs, and Checksums
|
||||||
NVM_VERSION = v0.33.11
|
NVM_VERSION = v0.33.11
|
||||||
@ -6,8 +7,6 @@ NVM_INSTALL_SCRIPT = nvm_$(NVM_VERSION)_install.sh
|
|||||||
NVM_NODE_VERSION = v10.14.0
|
NVM_NODE_VERSION = v10.14.0
|
||||||
LEIN_VERSION = stable
|
LEIN_VERSION = stable
|
||||||
|
|
||||||
GIT_ROOT = $(shell git rev-parse --show-toplevel)
|
|
||||||
|
|
||||||
# WARNING: Remember to change the tag when updating the image
|
# WARNING: Remember to change the tag when updating the image
|
||||||
IMAGE_TAG = 1.0.0
|
IMAGE_TAG = 1.0.0
|
||||||
IMAGE_NAME = statusteam/status-build-base:$(IMAGE_TAG)
|
IMAGE_NAME = statusteam/status-build-base:$(IMAGE_TAG)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
__toolversion = $(shell $(GIT_ROOT)/scripts/toolversion $(1))
|
__toolversion = $(shell $(GIT_ROOT)/scripts/toolversion $(1))
|
||||||
|
|
||||||
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
||||||
|
GIT_ROOT = $(shell git rev-parse --show-toplevel)
|
||||||
|
|
||||||
# WARNING: Change version in Dockerfile too
|
# WARNING: Change version in Dockerfile too
|
||||||
QT_VERSION = 5.11.2
|
QT_VERSION = 5.11.2
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
__toolversion = $(shell $(GIT_ROOT)/scripts/toolversion $(1))
|
__toolversion = $(shell $(GIT_ROOT)/scripts/toolversion $(1))
|
||||||
|
|
||||||
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
||||||
|
GIT_ROOT = $(shell git rev-parse --show-toplevel)
|
||||||
|
|
||||||
# WARNING: Remember to change the tag when updating the image
|
# WARNING: Remember to change the tag when updating the image
|
||||||
IMAGE_TAG = 1.1.1
|
IMAGE_TAG = 1.1.1
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
# Install checks
|
# Install checks
|
||||||
########
|
########
|
||||||
|
|
||||||
|
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||||
|
|
||||||
function program_exists() {
|
function program_exists() {
|
||||||
local program=$1
|
local program=$1
|
||||||
command -v "$program" >/dev/null 2>&1
|
command -v "$program" >/dev/null 2>&1
|
||||||
@ -25,7 +27,7 @@ function program_version_exists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function toolversion() {
|
function toolversion() {
|
||||||
./toolversion "${1}"
|
${GIT_ROOT}/scripts/toolversion "${1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
########
|
########
|
||||||
|
Loading…
x
Reference in New Issue
Block a user