summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-06-17 11:13:54 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-06-18 13:18:26 +0200
commit34fb88a477b6e5cb97845a304d062770a2596f43 (patch)
tree78074e97f6ef29db25e4797e8a94b1334f742910 /Makefile
parentcaa2801b87cb055c2a2fe27c67c3e13cd44fc71d (diff)
Don't vendor dependencies when creating dist tarball.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a9c4ad14..67af6f84 100644
--- a/Makefile
+++ b/Makefile
@@ -120,11 +120,6 @@ dist: $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar.xz.sig
$(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION):
$(GIT) clone . $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION)
cd $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION) && \
- mkdir .cargo && \
- CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) \
- $(CARGO) vendor $(CARGO_FLAGS) \
- | sed 's/^directory = ".*"$$/directory = "vendor"/' \
- > .cargo/config && \
rm -rf .git
$(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar: \
@@ -143,7 +138,7 @@ dist-test dist-check: $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar.xz
mkdir -p $(CARGO_TARGET_DIR)/dist-check
$(TAR) xf $< -C $(CARGO_TARGET_DIR)/dist-check
cd $(CARGO_TARGET_DIR)/dist-check/sequoia-$(VERSION) && \
- CARGO_HOME=$$(mktemp -d) $(MAKE) test CARGO_FLAGS=--frozen
+ CARGO_HOME=$$(mktemp -d) $(MAKE) test CARGO_FLAGS=--locked
rm -rf $(CARGO_TARGET_DIR)/dist-check/sequoia-$(VERSION)
# Housekeeping.