Skip to content

Commit

Permalink
fix(sync): build --release aw-sync in test-sync script
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Jul 18, 2022
1 parent 3476f88 commit 639614b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aw-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions aw-sync/test-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 639614b

Please sign in to comment.