Remove habitica integration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
77dd5f1500
commit
17333daedc
1 changed files with 0 additions and 9 deletions
|
@ -23,12 +23,3 @@ git commit -S -s -v "$@"
|
||||||
|
|
||||||
step "Execute post-commit auto-hook"
|
step "Execute post-commit auto-hook"
|
||||||
git autohook post-commit
|
git autohook post-commit
|
||||||
|
|
||||||
### Count productivity habit
|
|
||||||
|
|
||||||
step "Recording work..."
|
|
||||||
PROD_TASK=$(habitica https://habitica.com/api/v3/tasks/user | jq -r '.data | map(select(.text=="productivity").id)[0]')
|
|
||||||
|
|
||||||
if ! ( habitica -sS -o /dev/null -X POST https://habitica.com/api/v3/tasks/${PROD_TASK}/score/up ); then
|
|
||||||
echo "Scoring failed."
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue