Depend on libs in main crate
This way we do not need the travis-scripting-foo anymore.
This commit is contained in:
parent
37e5307e08
commit
578414287a
3 changed files with 34 additions and 17 deletions
17
.travis.yml
17
.travis.yml
|
@ -32,23 +32,8 @@ script:
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
if_changed_then_build_or_exit() {
|
|
||||||
if [[ $(changes_in "$1") ]]; then
|
|
||||||
echo "Changes in $1, building..."
|
|
||||||
travis_cargo_run_in "$1" || exit 1
|
|
||||||
else
|
|
||||||
echo "No changes in $1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
[[ $(changes_in "doc") ]] && echo "Changes in ./doc are not build by CI"
|
[[ $(changes_in "doc") ]] && echo "Changes in ./doc are not build by CI"
|
||||||
|
travis_cargo_run_in "."
|
||||||
if_changed_then_build_or_exit "libimagmodule"
|
|
||||||
if_changed_then_build_or_exit "libimagrt"
|
|
||||||
if_changed_then_build_or_exit "libimagstore"
|
|
||||||
if_changed_then_build_or_exit "libimagutil"
|
|
||||||
|
|
||||||
(changes_in "src" && travis_cargo_run_in ".") || true
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -1,4 +1,26 @@
|
||||||
[root]
|
[root]
|
||||||
name = "imag"
|
name = "imag"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"libimagmodule 0.1.0",
|
||||||
|
"libimagrt 0.1.0",
|
||||||
|
"libimagstore 0.1.0",
|
||||||
|
"libimagutil 0.1.0",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libimagmodule"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libimagrt"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libimagstore"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libimagutil"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
|
12
Cargo.toml
12
Cargo.toml
|
@ -10,5 +10,15 @@ readme = "README.md"
|
||||||
description = "CLI PIM suite with nice API, so you can use an MUA, Editor, etc. of your choice"
|
description = "CLI PIM suite with nice API, so you can use an MUA, Editor, etc. of your choice"
|
||||||
keywords = ["PIM", "personal", "information", "management", "cli", "vcard", "ical", "wiki", "bookmark", "todo", "rss" ]
|
keywords = ["PIM", "personal", "information", "management", "cli", "vcard", "ical", "wiki", "bookmark", "todo", "rss" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies.libimagmodule]
|
||||||
|
path = "./libimagmodule"
|
||||||
|
|
||||||
|
[dependencies.libimagrt]
|
||||||
|
path = "./libimagstore"
|
||||||
|
|
||||||
|
[dependencies.libimagstore]
|
||||||
|
path = "./libimagstore"
|
||||||
|
|
||||||
|
[dependencies.libimagutil]
|
||||||
|
path = "./libimagutil"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue