Show pageOld revisionsBacklinksAdd to bookExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Taskfile ====== ===== Custom taskfile ===== <code bash> curl -sL "http://wiki.csgalileo.org/tips:taskfile?do=export_code&codeblock=1" | /bin/bash </code> <file bash> curl -sL "http://wiki.csgalileo.org/tips:taskfile?do=export_code&codeblock=2" > task chmod +x task echo "new ./task file created" </file> <file bash taskfile> #!/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}" </file> ===== Task project ==== 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 [[https://taskfile.dev/|Task]]. >In the case you are using Arch Linux it's better to install <code bash>paru -S go-task-bin #rather than `taskfile-git` as suggested</code> tips/taskfile.txt Last modified: 2022/08/04 17:06by ngiacobbo