From 639614b85b51978ae6efebb6320249b4f1b83231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Mon, 18 Jul 2022 18:08:48 +0200 Subject: [PATCH] fix(sync): build --release aw-sync in test-sync script --- aw-sync/README.md | 2 +- aw-sync/test-sync.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/aw-sync/README.md b/aw-sync/README.md index a07f1b4b..3e4686e5 100644 --- a/aw-sync/README.md +++ b/aw-sync/README.md @@ -41,7 +41,7 @@ In the end, You should get something like this: https://twitter.com/ErikBjare/st **Note:** this documents usage for testing, it is not yet ready for production usage. -It assumes you're running temporary aw-server instances. +It assumes you're running a temporary aw-server instances. ### Pushing to the sync directory diff --git a/aw-sync/test-sync.sh b/aw-sync/test-sync.sh index a98fe22e..22f29f8c 100755 --- a/aw-sync/test-sync.sh +++ b/aw-sync/test-sync.sh @@ -13,6 +13,5 @@ PORT=$(sed '/\[server-testing\]/,/\[.*\]/{//!d}' $AWSERVERCONF | grep -oP 'port SYNCDIR="$HOME/ActivityWatchSync/$HOSTNAME" AWSYNCPARAMS="--port $PORT --sync-dir $SYNCDIR" -# TODO: Fix supplying multiple buckets in a single command # NOTE: Only sync window and AFK buckets, for now -cargo run --bin aw-sync -- $AWSYNCPARAMS sync --mode push --buckets aw-watcher-window_$HOSTNAME,aw-watcher-afk_$HOSTNAME +cargo run --bin aw-sync --release -- $AWSYNCPARAMS sync --mode push --buckets aw-watcher-window_$HOSTNAME,aw-watcher-afk_$HOSTNAME