snapshot of https://github.com/ActivityWatch/aw-server-rust.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled
Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled
This commit is contained in:
13
aw-sync/test-server.sh
Executable file
13
aw-sync/test-server.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# port and db used for testing instance
|
||||
|
||||
# If port already set, use that, otherwise, use 5667
|
||||
PORT=${PORT:-5667}
|
||||
|
||||
DBPATH=/tmp/aw-server-rust-sync-testing/
|
||||
mkdir -p $DBPATH
|
||||
|
||||
# Set up an isolated ActivityWatch instance
|
||||
pushd ..
|
||||
cargo run --bin aw-server -- --testing --port $PORT --dbpath $DBPATH/data.db --no-legacy-import --verbose
|
||||
Reference in New Issue
Block a user