From 9a724815823e034e384f7a0d2de946ef6e090487 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 3 May 2021 21:24:16 +0300 Subject: move scripts from bin/ to vk/ This is done in preparation to moving to PyPI. TODO: * update docs, * merge/rename some scripts. --- .ci/bin/mutual_friends.sh | 4 ++-- .ci/bin/online_sessions.sh | 2 +- .ci/bin/show_status.sh | 2 +- .ci/bin/track_status.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to '.ci/bin') diff --git a/.ci/bin/mutual_friends.sh b/.ci/bin/mutual_friends.sh index 4a00fb8..383dbdd 100755 --- a/.ci/bin/mutual_friends.sh +++ b/.ci/bin/mutual_friends.sh @@ -12,8 +12,8 @@ script_dir="$( cd -- "$script_dir" && pwd )" readonly script_dir test_users() { - "$script_dir/../lib/test.sh" bin.mutual_friends --format csv "$@" - "$script_dir/../lib/test.sh" bin.mutual_friends --format json "$@" + "$script_dir/../lib/test.sh" vk.mutuals --format csv "$@" + "$script_dir/../lib/test.sh" vk.mutuals --format json "$@" } main() { diff --git a/.ci/bin/online_sessions.sh b/.ci/bin/online_sessions.sh index d64ef2f..7a01dc3 100755 --- a/.ci/bin/online_sessions.sh +++ b/.ci/bin/online_sessions.sh @@ -31,7 +31,7 @@ test_output() { trap "$rm_aux_files" RETURN - "$script_dir/../lib/test.sh" bin.online_sessions "$@" "$db_path" "$output_path" + "$script_dir/../lib/test.sh" vk.tracking.sessions "$@" "$db_path" "$output_path" if file --brief --dereference --mime -- "$output_path" | grep --quiet -- 'charset=binary$'; then dump 'Output is a binary file, not going to show that' diff --git a/.ci/bin/show_status.sh b/.ci/bin/show_status.sh index c9f8e26..b3f4cfe 100755 --- a/.ci/bin/show_status.sh +++ b/.ci/bin/show_status.sh @@ -12,7 +12,7 @@ script_dir="$( cd -- "$script_dir" && pwd )" readonly script_dir test_users() { - "$script_dir/../lib/test.sh" bin.show_status "$@" + "$script_dir/../lib/test.sh" vk.tracking.show_status "$@" } main() { diff --git a/.ci/bin/track_status.sh b/.ci/bin/track_status.sh index 1a7a7dc..9118144 100755 --- a/.ci/bin/track_status.sh +++ b/.ci/bin/track_status.sh @@ -30,7 +30,7 @@ test_users() { rm_aux_files="$( printf -- 'rm -f -- %q %q' "$log_path" "$db_path" )" trap "$rm_aux_files" RETURN - "$script_dir/../lib/test.sh" bin.track_status "$@" --log "$log_path" --format csv --output "$db_path" & + "$script_dir/../lib/test.sh" vk.tracking.track_status "$@" --log "$log_path" --format csv --output "$db_path" & local pid="$!" sleep 3 -- cgit v1.2.3