Change make update
because it works with workspaces now
This commit is contained in:
parent
85cb954b9f
commit
4ff88dca6e
1 changed files with 2 additions and 9 deletions
11
Makefile
11
Makefile
|
@ -34,10 +34,6 @@ imag-bin-release:
|
|||
@$(ECHO) "\t[IMAG ][RELEASE]"
|
||||
@$(CARGO) build --release --manifest-path ./bin/Cargo.toml
|
||||
|
||||
imag-bin-update:
|
||||
@$(ECHO) "\t[IMAG ][UPDATE ]"
|
||||
@$(CARGO) update --manifest-path ./bin/Cargo.toml
|
||||
|
||||
imag-bin-install:
|
||||
@$(ECHO) "\t[IMAG ][INSTALL]"
|
||||
@$(CARGO) install --force --path ./bin
|
||||
|
@ -75,8 +71,9 @@ test: bin-test lib-test
|
|||
install: $(INSTALL_TARGETS) imag-bin-install
|
||||
@$(ECHO) "\t[INSTALL]"
|
||||
|
||||
update: $(UPDATE_TARGETS) imag-bin-update
|
||||
update:
|
||||
@$(ECHO) "\t[UPDATE ]"
|
||||
@$(CARGO) update
|
||||
|
||||
clean: $(CLEAN_TARGETS) imag-bin-clean
|
||||
@$(ECHO) "\t[CLEAN ]"
|
||||
|
@ -107,10 +104,6 @@ $(INSTALL_TARGETS): %: .FORCE imag-bin-install
|
|||
@$(ECHO) "\t[INSTALL]:\t$(subst -install,,$@)"
|
||||
@$(CARGO) install --force --path ./$(subst -install,,$@)
|
||||
|
||||
$(UPDATE_TARGETS): %: .FORCE
|
||||
@$(ECHO) "\t[UPDATE ]:\t$(subst -update,,$@)"
|
||||
@$(CARGO) update --manifest-path ./$(subst -update,,$@)/Cargo.toml
|
||||
|
||||
$(CLEAN_TARGETS): %: .FORCE
|
||||
@$(ECHO) "\t[CLEAN ]:\t$(subst -clean,,$@)"
|
||||
@$(CARGO) clean --manifest-path ./$(subst -clean,,$@)/Cargo.toml
|
||||
|
|
Loading…
Reference in a new issue