Files
evmgpu/scripts/run_task.sh

11 lines
244 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Assume the system-installed task is compatible with the taskfile version
if command -v task > /dev/null 2>&1; then
exec task "${@}"
else
go run github.com/go-task/task/v3/cmd/[email protected] "${@}"
fi