diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-03 21:24:16 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-03 21:24:16 +0300 |
commit | 9a724815823e034e384f7a0d2de946ef6e090487 (patch) | |
tree | b030ade43356b7ce50b2a1c50a2e6f940d584b94 /.ci | |
parent | README: fix badge link (diff) | |
download | vk-scripts-9a724815823e034e384f7a0d2de946ef6e090487.tar.gz vk-scripts-9a724815823e034e384f7a0d2de946ef6e090487.zip |
move scripts from bin/ to vk/
This is done in preparation to moving to PyPI. TODO:
* update docs,
* merge/rename some scripts.
Diffstat (limited to '')
-rwxr-xr-x | .ci/bin/mutual_friends.sh | 4 | ||||
-rwxr-xr-x | .ci/bin/online_sessions.sh | 2 | ||||
-rwxr-xr-x | .ci/bin/show_status.sh | 2 | ||||
-rwxr-xr-x | .ci/bin/track_status.sh | 2 |
4 files changed, 5 insertions, 5 deletions
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 |