mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
parent
5f77d92076
commit
cabe02aa71
4 changed files with 7 additions and 3 deletions
|
|
@ -64,3 +64,4 @@ build() {
|
|||
}
|
||||
|
||||
build linux amd64
|
||||
build linux arm64
|
||||
|
|
|
|||
|
|
@ -3,13 +3,14 @@
|
|||
# appropriate env vars.
|
||||
set -eux
|
||||
|
||||
dir=$(dirname "${BASH_SOURCE[0]}")
|
||||
dir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
||||
pushd "$dir/../../pkg/server"
|
||||
|
||||
export DNOTE_TEST_EMAIL_TEMPLATE_DIR="$dir/../../pkg/server/mailer/templates/src"
|
||||
emailTemplateDir=$(realpath "$dir/../../pkg/server/mailer/templates/src")
|
||||
export DNOTE_TEST_EMAIL_TEMPLATE_DIR="$emailTemplateDir"
|
||||
|
||||
function run_test {
|
||||
go test ./... -cover -p 1
|
||||
go test ./... -cover -p 1
|
||||
}
|
||||
|
||||
if [ "${WATCH-false}" == true ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue