task: Separate config and state management
This commit is contained in:
parent
bc47213589
commit
3057b4bfc5
4 changed files with 11 additions and 0 deletions
7
task/install
Executable file
7
task/install
Executable 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}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue