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:
parent
9a1bd58aa5
commit
b93bfd7fd3
1 changed files with 8 additions and 0 deletions
|
@ -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\""
|
||||||
|
|
Loading…
Reference in a new issue