Remove run as I also have a justfile

This commit is contained in:
Oliver Davies 2024-05-22 13:00:00 +01:00
parent 0aacffa91f
commit ad39a8c487

19
run
View file

@ -1,19 +0,0 @@
#!/usr/bin/env bash
set -o nounset
set -o pipefail
function build {
nix build --json --no-link --print-build-logs ".#${1:-default}"
}
function help {
printf "%s <task> [args]\n\nTasks:\n" "${0}"
compgen -A function | grep -v "^_" | cat -n
printf "\nExtended help:\n Each task has comments for general usage\n"
}
TIMEFORMAT="Task completed in %3lR"
time "${@:-help}"