Skip to content

Commit

Permalink
chore(tooling): Drop install time version checking that won't work in…
Browse files Browse the repository at this point in the history
… all scenarios
  • Loading branch information
alerque committed Oct 30, 2023
1 parent cbdade4 commit 45b91a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions build-aux/git_version.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ check-git-version: $(PACKAGE_NAME)$(EXEEXT) | .version
$(GREP) -Fx '$(VERSION)' $|
./$< --version | $(GREP) -Ff $|

installcheck-local-version:
./$(TRANSFORMED_PACKAGE_NAME)$(EXEEXT) --version

dist-hook: dist-tarball-version

.PHONY: dist-tarball-version
Expand Down
2 changes: 1 addition & 1 deletion build-aux/rust_boilerplate.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $(_RUST_OUT) $(CARGO_BIN): $(@PACKAGE_NAME@_SOURCES) $(EXTRA_@PACKAGE_NAME@_SOUR
$(CARGO_ENV) $(CARGO) build --quiet --message-format=json $(CARGO_FEATURE_ARGS) $(CARGO_RELEASE_ARGS) |
$(JQ) -sr 'map(select(.reason == "build-script-executed")) | last | .out_dir' > $(_RUST_OUT)

RUST_DEVELOPER_TARGETS = cargo-test clippy installcheck-local-version rustfmt
RUST_DEVELOPER_TARGETS = cargo-test clippy rustfmt
.PHONY: $(RUST_DEVELOPER_TARGETS)

if DEVELOPER
Expand Down

0 comments on commit 45b91a8

Please sign in to comment.