1
0
Fork 0

task: Separate config and state management

This commit is contained in:
Jeremy Kaplan 2021-04-30 13:32:47 -07:00
commit 3057b4bfc5
4 changed files with 11 additions and 0 deletions

7
task/install Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
TEMPLATE="${CURDIR}/taskrc-template"
DESTINATION="${CURDIR}/.taskrc"
[ -f "${DESTINATION}" ] || cp -v "${TEMPLATE}" "${DESTINATION}"