Skip to content

Commit

Permalink
Fix task run on Windows (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Jul 8, 2022
1 parent fba5737 commit 6743b59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,19 +183,19 @@ tasks:
desc: "Build bin/ferretdb-testcover"
deps: [gen-version]
cmds:
- go test -c -o=bin/ferretdb-testcover -trimpath -tags=testcover,tigris {{if ne OS "windows"}}-race{{end}} -coverpkg=./... ./cmd/ferretdb
- go test -c -o=bin/ferretdb-testcover{{exeExt}} -trimpath -tags=testcover,tigris {{if ne OS "windows"}}-race{{end}} -coverpkg=./... ./cmd/ferretdb

run:
desc: "Run FerretDB"
deps: [build-testcover]
cmds:
- bin/ferretdb-testcover -test.coverprofile=cover.txt -mode=diff-normal -listen-addr=:27017
- bin/ferretdb-testcover{{exeExt}} -test.coverprofile=cover.txt -mode=diff-normal -listen-addr=:27017

run-proxy:
desc: "Run FerretDB in diff-proxy mode"
deps: [build-testcover]
cmds:
- bin/ferretdb-testcover -test.coverprofile=cover.txt -mode=diff-proxy -listen-addr=:27017
- bin/ferretdb-testcover{{exeExt}} -test.coverprofile=cover.txt -mode=diff-proxy -listen-addr=:27017

lint:
desc: "Run linters"
Expand Down

0 comments on commit 6743b59

Please sign in to comment.