Remove habitica integration

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-09-27 11:40:18 +02:00
parent 77dd5f1500
commit 17333daedc
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -23,12 +23,3 @@ git commit -S -s -v "$@"
step "Execute post-commit auto-hook"
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