summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Krehl <mario-krehl@gmx.de>2017-03-02 20:39:01 +0100
committerMario Krehl <mario-krehl@gmx.de>2017-03-02 21:10:34 +0100
commit019e12b04884d331b56ceddd94d3121c3b729da6 (patch)
tree8e88a3a935c6618a981908bff7d8e03ca690b177
parente98715589adc57d83586d099dcce5a7aa0728cf9 (diff)
downloadimag-019e12b04884d331b56ceddd94d3121c3b729da6.zip
imag-019e12b04884d331b56ceddd94d3121c3b729da6.tar.gz
Change `make check-outdated` because it works with workspaces now
-rw-r--r--Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 5a2a6ee..9d10436 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,6 @@ TARGETS=$(BIN_TARGETS) $(LIB_TARGETS)
RELEASE_TARGETS=$(foreach x,$(TARGETS),$(x)-release)
INSTALL_TARGETS=$(foreach x,$(BIN_TARGETS),$(x)-install)
CHECK_TARGETS=$(foreach x,$(TARGETS),$(x)-check)
-CHECK_OUTDATED_TARGETS=$(foreach x,$(TARGETS),$(x)-check-outdated)
all: $(TARGETS) imag-bin
@$(ECHO) "\t[ALL ]"
@@ -40,10 +39,6 @@ imag-bin-check:
@$(ECHO) "\t[IMAG ][CHECK ]"
@$(CARGO) check --manifest-path ./bin/Cargo.toml
-imag-bin-check-outdated:
- @$(ECHO) "\t[IMAG ][CHECK ]"
- @$(CARGO) outdated --manifest-path ./bin/Cargo.toml --lockfile-path ./bin/Cargo.lock
-
release: $(RELEASE_TARGETS) imag-bin-release
@$(ECHO) "\t[RELEASE]"
@@ -75,7 +70,9 @@ clean:
check: $(CHECK_TARGETS) imag-bin-check
-check-outdated: $(CHECK_OUTDATED_TARGETS) imag-bin-check-outdated
+check-outdated:
+ @$(ECHO) "\t[OUTDATED]"
+ @$(CARGO) outdated
$(TARGETS): %: .FORCE
@$(ECHO) "\t[CARGO ]:\t$@"
@@ -103,11 +100,5 @@ $(CHECK_TARGETS): %: .FORCE
@$(ECHO) "\t[CHECK ]:\t$(subst -check,,$@)"
@$(CARGO) check --manifest-path ./$(subst -check,,$@)/Cargo.toml
-$(CHECK_OUTDATED_TARGETS): %: .FORCE $(subst -check-outdated,-update,$@)
- @$(ECHO) "\t[OUTDATE]:\t$(subst -check-outdated,,$@)"
- @$(CARGO) outdated -R \
- --manifest-path $(PWD)/$(subst -check-outdated,,$@)/Cargo.toml \
- --lockfile-path $(PWD)/$(subst -check-outdated,,$@)/Cargo.lock
-
.FORCE: