mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
Revert "Embed git revision in CLI version output."
This reverts commit 459170ff09.
This commit is contained in:
10
Makefile
10
Makefile
@@ -11,9 +11,6 @@ CARGO = cargo +nightly
|
||||
# Uncomment this if the above is uncommented
|
||||
#TARGET_PRFX = --target=
|
||||
|
||||
# Git revision, embedded in src/lib.rs
|
||||
GIT_REV = $(shell git rev-parse --short HEAD)
|
||||
|
||||
# Binaries to be built
|
||||
BINS = darkfid faucetd drk darkirc vanityaddr tau taud
|
||||
|
||||
@@ -38,10 +35,7 @@ BINDEPS = \
|
||||
|
||||
all: $(BINS)
|
||||
|
||||
rev:
|
||||
@grep -q "$(GIT_REV)" src/lib.rs || sed -e 's/@GIT_REV@/$(GIT_REV)/' -i src/lib.rs
|
||||
|
||||
zkas: rev $(ZKASDEPS)
|
||||
zkas: $(ZKASDEPS)
|
||||
$(CARGO) build $(TARGET_PRFX)$(RUST_TARGET) --all-features --release --package $@
|
||||
cp -f target/$(RUST_TARGET)/release/$@ $@
|
||||
|
||||
@@ -107,5 +101,5 @@ uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \
|
||||
done;
|
||||
|
||||
.PHONY: all rev check fix fmt clippy test test-no-run cleanbin clean \
|
||||
.PHONY: all check fix fmt clippy test test-no-run cleanbin clean \
|
||||
install uninstall contracts coverage
|
||||
|
||||
Reference in New Issue
Block a user