5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 06:21:41 +00:00

feat: notificar cuando termina una tarea

This commit is contained in:
f 2024-01-11 12:38:54 -03:00
parent 9a1bd58aa5
commit b93bfd7fd3
No known key found for this signature in database

View file

@ -120,6 +120,8 @@ tasks:
- "node-modules" - "node-modules"
cmds: cmds:
- "{{.HAINISH}} yarn {{.CLI_ARGS}}" - "{{.HAINISH}} yarn {{.CLI_ARGS}}"
- defer:
task: "notify"
bundle: bundle:
desc: "Bundle. Call with: go-task bundle -- arguments" desc: "Bundle. Call with: go-task bundle -- arguments"
interactive: true interactive: true
@ -127,6 +129,8 @@ tasks:
- "gems" - "gems"
cmds: cmds:
- "{{.HAINISH}} bundle {{.CLI_ARGS}}" - "{{.HAINISH}} bundle {{.CLI_ARGS}}"
- defer:
task: "notify"
rails: rails:
desc: "Rails. Call with: go-task rails -- arguments" desc: "Rails. Call with: go-task rails -- arguments"
cmds: cmds:
@ -164,3 +168,7 @@ tasks:
- task: "yarn" - task: "yarn"
vars: vars:
CLI_ARGS: "audit" CLI_ARGS: "audit"
notify:
internal: true
cmds:
- "echo -e \"\a\""