summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-04-06 15:20:57 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-04-06 15:25:46 +0200
commitc9ae3dcda4cc0e8ef89ef949ae88ee2c9123a615 (patch)
tree90aaf968ee1c8b5ac7a78668efe4e34c7efcd1db /Makefile
parent5a3d26552a0b2b8622290f8ed487d9bd758404bc (diff)
Remove version consistency check.
- This check no longer makes sense as the crate versions are no longer in sync. - Fixes #703.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 0 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index ac263385..149a7175 100644
--- a/Makefile
+++ b/Makefile
@@ -152,21 +152,6 @@ clean:
$(MAKE) -Copenpgp-ffi clean
$(MAKE) -Cffi clean
-.PHONY: sanity-check-versions
-sanity-check-versions:
- set -e ; V=$(VERSION) ; VV=$(shell echo $(VERSION) | cut -d. -f1-2) ;\
- bad() { echo "bad $$*." ; exit 1 ; } ;\
- for TOML in */Cargo.toml ; do \
- echo -n "$$TOML " ;\
- grep '^version *=' $$TOML | grep -q $$V || bad version ;\
- grep '^documentation *=' $$TOML \
- | egrep -q "($${V})|(https://docs.rs/)" || bad documentation ;\
- grep '{ *path *= *"' $$TOML | while read L ; do \
- echo $$L | grep -q $$VV || bad intra-workspace dependency ;\
- done ;\
- echo good. ;\
- done
-
.PHONY: codespell
codespell:
$(CODESPELL) $(CODESPELL_FLAGS) \