2017-12-24 10:00:11 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-04-11 16:14:43 +00:00
|
|
|
echo "Are you sure that the files"
|
|
|
|
echo " * 'lib/core/libimagrt/src/version.rs'"
|
|
|
|
echo " * 'scripts/version-updated'"
|
|
|
|
echo "contain the right version setting?"
|
|
|
|
echo "If yes, pass '--I-AM-SURE-VERSION-IS-UPDATED' as parameter"
|
|
|
|
|
|
|
|
[[ "--I-AM-SURE-VERSION-IS-UPDATED" == $1 ]] || exit 1
|
2018-02-08 14:43:51 +00:00
|
|
|
|
2017-12-24 10:00:11 +00:00
|
|
|
CRATES=(
|
|
|
|
./lib/etc/libimagutil
|
|
|
|
./lib/etc/libimagtimeui
|
|
|
|
./lib/core/libimagerror
|
|
|
|
./lib/core/libimagstore
|
|
|
|
./lib/etc/libimaginteraction
|
|
|
|
./lib/core/libimagrt
|
|
|
|
./lib/entry/libimagentrylink
|
2019-05-29 15:43:24 +00:00
|
|
|
./lib/entry/libimagentryurl
|
2017-12-24 10:00:11 +00:00
|
|
|
./lib/entry/libimagentrytag
|
2018-02-10 14:12:51 +00:00
|
|
|
./lib/entry/libimagentryfilter
|
2017-12-24 10:00:11 +00:00
|
|
|
./lib/entry/libimagentrygps
|
|
|
|
./lib/entry/libimagentryedit
|
|
|
|
./lib/entry/libimagentryview
|
|
|
|
./lib/entry/libimagentrydatetime
|
2018-02-08 14:43:51 +00:00
|
|
|
./lib/entry/libimagentryutil
|
2018-05-09 09:39:09 +00:00
|
|
|
./lib/entry/libimagentrycategory
|
2018-02-10 14:12:51 +00:00
|
|
|
./lib/entry/libimagentryref
|
|
|
|
./lib/entry/libimagentrymarkdown
|
|
|
|
./lib/entry/libimagentryannotation
|
2017-12-24 10:00:11 +00:00
|
|
|
./lib/domain/libimagbookmark
|
|
|
|
./lib/domain/libimaghabit
|
|
|
|
./lib/domain/libimagnotes
|
|
|
|
./lib/domain/libimagcontact
|
|
|
|
./lib/domain/libimagdiary
|
2018-02-08 14:43:51 +00:00
|
|
|
./lib/domain/libimaglog
|
2017-12-24 10:00:11 +00:00
|
|
|
./lib/domain/libimagtimetrack
|
|
|
|
./lib/domain/libimagtodo
|
|
|
|
./lib/domain/libimagmail
|
2018-04-10 19:57:11 +00:00
|
|
|
./lib/domain/libimagwiki
|
2017-12-24 10:00:11 +00:00
|
|
|
./bin/domain/imag-habit
|
|
|
|
./bin/domain/imag-diary
|
|
|
|
./bin/domain/imag-contact
|
|
|
|
./bin/domain/imag-notes
|
|
|
|
./bin/domain/imag-bookmark
|
|
|
|
./bin/domain/imag-timetrack
|
|
|
|
./bin/domain/imag-mail
|
|
|
|
./bin/domain/imag-todo
|
2018-02-08 14:43:51 +00:00
|
|
|
./bin/domain/imag-log
|
2018-04-18 19:34:58 +00:00
|
|
|
./bin/domain/imag-wiki
|
2019-05-19 08:02:01 +00:00
|
|
|
./bin/core/imag-markdown
|
2017-12-24 10:00:11 +00:00
|
|
|
./bin/core/imag-ref
|
|
|
|
./bin/core/imag-gps
|
|
|
|
./bin/core/imag-diagnostics
|
|
|
|
./bin/core/imag-mv
|
|
|
|
./bin/core/imag-store
|
|
|
|
./bin/core/imag-tag
|
|
|
|
./bin/core/imag-grep
|
|
|
|
./bin/core/imag-annotate
|
|
|
|
./bin/core/imag-link
|
|
|
|
./bin/core/imag-view
|
2018-02-08 14:43:51 +00:00
|
|
|
./bin/core/imag-init
|
|
|
|
./bin/core/imag-edit
|
2018-02-20 12:37:10 +00:00
|
|
|
./bin/core/imag-ids
|
2019-07-28 08:51:35 +00:00
|
|
|
./bin/core/imag-id-in-collection
|
2018-04-19 20:40:50 +00:00
|
|
|
./bin/core/imag-git
|
2018-04-26 09:19:14 +00:00
|
|
|
./bin/core/imag-category
|
2019-02-15 19:23:40 +00:00
|
|
|
./bin/core/imag-header
|
2017-12-24 10:00:11 +00:00
|
|
|
./bin/core/imag
|
|
|
|
)
|
|
|
|
|
|
|
|
for crate in ${CRATES[*]}; do
|
|
|
|
echo -e "\t[CARGO][CHECK ]\t$crate"
|
|
|
|
RUST_BACKTRACE=1 cargo publish --manifest-path $crate/Cargo.toml || exit 1
|
|
|
|
echo -e "\t[Waiting...]"
|
|
|
|
sleep 15
|
|
|
|
done
|
|
|
|
|