mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-21 19:20:39 +00:00
parent
b9bf97362b
commit
0d259384a0
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ GOBIN = $(CURDIR)/build/bin
|
||||
|
||||
GIT_COMMIT ?= $(shell git rev-list -1 HEAD)
|
||||
GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
|
||||
GIT_TAG ?= $(shell git describe --tags --dirty)
|
||||
GIT_TAG ?= $(shell git describe --tags '--match=v*' --dirty)
|
||||
|
||||
CGO_CFLAGS := $(shell $(GO) env CGO_CFLAGS) # don't loose default
|
||||
CGO_CFLAGS += -DMDBX_FORCE_ASSERTIONS=1 # Enable MDBX's asserts by default in 'devel' branch and disable in 'stable'
|
||||
|
8
hooks/build
Executable file
8
hooks/build
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This is needed to pass build ARGs to Dockerfile.
|
||||
# see https://docs.docker.com/docker-hub/builds/advanced/
|
||||
|
||||
DOCKER_FLAGS="-t $IMAGE_NAME" \
|
||||
GIT_TAG=$(git describe --tags '--match=v*' --dirty) \
|
||||
make docker
|
0
hooks/post_checkout
Normal file → Executable file
0
hooks/post_checkout
Normal file → Executable file
Loading…
Reference in New Issue
Block a user