summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-12-06 10:07:03 +0100
committerGitHub <noreply@github.com>2016-12-06 10:07:03 +0100
commit9375c71292e8ec57bb6c970992f9f3aa33d54786 (patch)
tree9c55bed36b6ea4cc2d81fa7a2e229d568a446b3f
parent0dd849863fbca535525c136a02e47a3f8c394854 (diff)
parent17c7072613366c3fc9185abce866c45f9e789924 (diff)
downloadimag-9375c71292e8ec57bb6c970992f9f3aa33d54786.zip
imag-9375c71292e8ec57bb6c970992f9f3aa33d54786.tar.gz
Merge pull request #845 from matthiasbeyer/makefile-check-outdated
Add support for cargo-outdated 0.3.0
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cf06598..719c021 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ imag-bin-check:
imag-bin-check-outdated:
@$(ECHO) "\t[IMAG ][CHECK ]"
- @$(CARGO) outdated --manifest-path ./bin/Cargo.toml
+ @$(CARGO) outdated --manifest-path ./bin/Cargo.toml --lockfile-path ./bin/Cargo.lock
release: $(RELEASE_TARGETS) imag-bin-release
@$(ECHO) "\t[RELEASE]"
@@ -118,7 +118,9 @@ $(CHECK_TARGETS): %: .FORCE
$(CHECK_OUTDATED_TARGETS): %: .FORCE $(subst -check-outdated,-update,$@)
@$(ECHO) "\t[OUTDATE]:\t$(subst -check-outdated,,$@)"
- @$(CARGO) outdated -R --manifest-path ./$(subst -check-outdated,,$@)/Cargo.toml
+ @$(CARGO) outdated -R \
+ --manifest-path $(PWD)/$(subst -check-outdated,,$@)/Cargo.toml \
+ --lockfile-path $(PWD)/$(subst -check-outdated,,$@)/Cargo.lock
.FORCE: