mirror of
https://github.com/dnote/dnote
synced 2026-03-15 06:55:49 +01:00
* Implement data model and basic UI for repetition rules * Implement tooltip * Allow to update and write test * Stop processing the first repetition until having waited at least the frequency amount * Set up email dev server reload * Test pro only * Allow to toggle repetition using token * Remove unused * Add last active * Simplify nextActive calculation * Create weekly digest repetition rules for existing users * Fix style * Fix link * Create default repetition rule upon signup * Get notes with thresholds * Fix test * Fix test
16 lines
369 B
Bash
Executable file
16 lines
369 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# test.sh runs server tests. It is to be invoked by other scripts that set
|
|
# appropriate env vars.
|
|
set -eux
|
|
|
|
pushd "$GOPATH"/src/github.com/dnote/dnote/pkg/server
|
|
|
|
if [ "${WATCH-false}" == true ]; then
|
|
set +e
|
|
while inotifywait --exclude .swp -e modify -r .; do go test ./... -cover -p 1; done;
|
|
set -e
|
|
else
|
|
go test ./... -cover -p 1
|
|
fi
|
|
|
|
popd
|