curl -sL "http://wiki.csgalileo.org/tips:taskfile?do=export_code&codeblock=1" | /bin/bash
curl -sL "http://wiki.csgalileo.org/tips:taskfile?do=export_code&codeblock=2" > task chmod +x task echo "new ./task file created"
#!/usr/bin/env bash dir=$(pwd) function task:example { echo bla bla } function task:default { task:help } function task:help { echo "$0 <task> <args>" echo "Tasks:" # We pick out the `task:*` functions compgen -A function | sed -En 's/task:(.*)/\1/p' | cat -n } TIMEFORMAT="Task completed in %3lR" time "task:${@:-help}"
Task is a task runner / build tool that aims to be simpler and easier to use than `Make GNU`. The home page of the project is available at Task.
In the case you are using Arch Linux it's better to installparu -S go-task-bin #rather than `taskfile-git` as suggested