commit
0dd849863f
5 changed files with 16 additions and 5 deletions
11
Makefile
11
Makefile
|
@ -21,6 +21,7 @@ INSTALL_TARGETS=$(foreach x,$(BIN_TARGETS),$(x)-install)
|
||||||
UPDATE_TARGETS=$(foreach x,$(TARGETS),$(x)-update)
|
UPDATE_TARGETS=$(foreach x,$(TARGETS),$(x)-update)
|
||||||
CLEAN_TARGETS=$(foreach x,$(TARGETS),$(x)-clean)
|
CLEAN_TARGETS=$(foreach x,$(TARGETS),$(x)-clean)
|
||||||
CHECK_TARGETS=$(foreach x,$(TARGETS),$(x)-check)
|
CHECK_TARGETS=$(foreach x,$(TARGETS),$(x)-check)
|
||||||
|
CHECK_OUTDATED_TARGETS=$(foreach x,$(TARGETS),$(x)-check-outdated)
|
||||||
|
|
||||||
all: $(TARGETS) imag-bin
|
all: $(TARGETS) imag-bin
|
||||||
@$(ECHO) "\t[ALL ]"
|
@$(ECHO) "\t[ALL ]"
|
||||||
|
@ -49,6 +50,10 @@ imag-bin-check:
|
||||||
@$(ECHO) "\t[IMAG ][CHECK ]"
|
@$(ECHO) "\t[IMAG ][CHECK ]"
|
||||||
@$(CARGO) check --manifest-path ./bin/Cargo.toml
|
@$(CARGO) check --manifest-path ./bin/Cargo.toml
|
||||||
|
|
||||||
|
imag-bin-check-outdated:
|
||||||
|
@$(ECHO) "\t[IMAG ][CHECK ]"
|
||||||
|
@$(CARGO) outdated --manifest-path ./bin/Cargo.toml
|
||||||
|
|
||||||
release: $(RELEASE_TARGETS) imag-bin-release
|
release: $(RELEASE_TARGETS) imag-bin-release
|
||||||
@$(ECHO) "\t[RELEASE]"
|
@$(ECHO) "\t[RELEASE]"
|
||||||
|
|
||||||
|
@ -75,6 +80,8 @@ clean: $(CLEAN_TARGETS) imag-bin-clean
|
||||||
|
|
||||||
check: $(CHECK_TARGETS) imag-bin-check
|
check: $(CHECK_TARGETS) imag-bin-check
|
||||||
|
|
||||||
|
check-outdated: $(CHECK_OUTDATED_TARGETS) imag-bin-check-outdated
|
||||||
|
|
||||||
$(TARGETS): %: .FORCE
|
$(TARGETS): %: .FORCE
|
||||||
@$(ECHO) "\t[CARGO ]:\t$@"
|
@$(ECHO) "\t[CARGO ]:\t$@"
|
||||||
@$(CARGO) build --manifest-path ./$@/Cargo.toml
|
@$(CARGO) build --manifest-path ./$@/Cargo.toml
|
||||||
|
@ -109,5 +116,9 @@ $(CHECK_TARGETS): %: .FORCE
|
||||||
@$(ECHO) "\t[CHECK ]:\t$(subst -check,,$@)"
|
@$(ECHO) "\t[CHECK ]:\t$(subst -check,,$@)"
|
||||||
@$(CARGO) check --manifest-path ./$(subst -check,,$@)/Cargo.toml
|
@$(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 ./$(subst -check-outdated,,$@)/Cargo.toml
|
||||||
|
|
||||||
.FORCE:
|
.FORCE:
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ homepage = "http://imag-pim.org"
|
||||||
codegen-units = 2
|
codegen-units = 2
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
itertools = "0.4"
|
itertools = "0.5"
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
toml = "0.2.*"
|
toml = "0.2.*"
|
||||||
semver = "0.5"
|
semver = "0.5"
|
||||||
|
|
|
@ -15,7 +15,7 @@ homepage = "http://imag-pim.org"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
mailparse = "0.3"
|
mailparse = "0.4"
|
||||||
semver = "0.5"
|
semver = "0.5"
|
||||||
toml = "0.2.*"
|
toml = "0.2.*"
|
||||||
filters = "0.1.*"
|
filters = "0.1.*"
|
||||||
|
|
|
@ -23,7 +23,7 @@ rust-crypto = "0.2"
|
||||||
semver = "0.5"
|
semver = "0.5"
|
||||||
toml = "0.2.*"
|
toml = "0.2.*"
|
||||||
version = "2.0.1"
|
version = "2.0.1"
|
||||||
walkdir = "0.1.*"
|
walkdir = "1.0.*"
|
||||||
|
|
||||||
[dependencies.libimagstore]
|
[dependencies.libimagstore]
|
||||||
path = "../libimagstore"
|
path = "../libimagstore"
|
||||||
|
|
|
@ -17,7 +17,7 @@ homepage = "http://imag-pim.org"
|
||||||
codegen-units = 2
|
codegen-units = 2
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
fs2 = "0.3"
|
fs2 = "0.4"
|
||||||
glob = "0.2.11"
|
glob = "0.2.11"
|
||||||
lazy_static = "0.2.*"
|
lazy_static = "0.2.*"
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
|
@ -26,7 +26,7 @@ semver = "0.5"
|
||||||
toml = "0.2.*"
|
toml = "0.2.*"
|
||||||
version = "2.0.1"
|
version = "2.0.1"
|
||||||
crossbeam = "0.2.*"
|
crossbeam = "0.2.*"
|
||||||
walkdir = "0.1.*"
|
walkdir = "1.0.*"
|
||||||
|
|
||||||
[dependencies.libimagerror]
|
[dependencies.libimagerror]
|
||||||
path = "../libimagerror"
|
path = "../libimagerror"
|
||||||
|
|
Loading…
Reference in a new issue