Skip to content

Commit 9f66ba6

Browse files
committed
feat: add db reset task to mise
1 parent bf9ca93 commit 9f66ba6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mise.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,15 @@ mise run test:unit
111111
mise run test:integration
112112
"""
113113

114+
[tasks."reset"]
115+
alias = 'r'
116+
description = "Reset database"
117+
run = """
118+
mise run postgres:down
119+
mise run postgres:up --extra-args "--detach --wait"
120+
mise run postgres:setup
121+
"""
122+
114123
[tasks."test:local:unit"]
115124
alias = 'lu'
116125
description = "Runs test/s"

0 commit comments

Comments
 (0)