diff --git a/.travis.yml b/.travis.yml index 2f21327e..54878194 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,23 +32,8 @@ script: 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" - - 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 + travis_cargo_run_in "." addons: apt: diff --git a/Cargo.lock b/Cargo.lock index a602ec81..7d676b73 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,4 +1,26 @@ [root] name = "imag" 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" diff --git a/Cargo.toml b/Cargo.toml index 0b818987..782c5c68 100644 --- a/Cargo.toml +++ b/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" 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"