Skip to content

Commit c9eb59f

Browse files
Merge pull request #14 from nauticalab/eywalker/plt-73-add-task-for-test-golden-file-creation
build: add task to update golden files for tests
2 parents ba716a6 + 25a65e6 commit c9eb59f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ tasks:
2525
cmds:
2626
- go test ./... {{.CLI_ARGS}}
2727

28+
update-golden:
29+
desc: Update golden files for tests
30+
cmds:
31+
- go test ./... -update-golden {{.CLI_ARGS}}
32+
2833
doc:
2934
desc: Launch pkgsite documentation server
3035
cmds:

0 commit comments

Comments
 (0)