Tarefas
Tarefas (task runner)
Declare tarefas com tarefa e rode pelo CLI:
tarefa "build" {
grita-ae("building...")
}
tarefa "deploy" {
grita-ae("deploying...")
}Sem aspas
tarefa limpar {
grita-ae("limpando...")
}Rodando uma tarefa
xana buildO nome após xana procura a tarefa correspondente.
Exemplo completo
tarefa "test" {
grita-ae("rodando testes...")
}
tarefa "publish" {
grita-ae("publicando pacote...")
}