Tarefas

Tarefas (task runner)

Declare tarefas com tarefa e rode pelo CLI:

js
tarefa "build" {
  grita-ae("building...")
}

tarefa "deploy" {
  grita-ae("deploying...")
}

Sem aspas

js
tarefa limpar {
  grita-ae("limpando...")
}

Rodando uma tarefa

bash
xana build

O nome após xana procura a tarefa correspondente.

Exemplo completo

js
tarefa "test" {
  grita-ae("rodando testes...")
}

tarefa "publish" {
  grita-ae("publicando pacote...")
}