From 17333daedc2fba5094958633570beb407bb86b84 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 27 Sep 2017 11:40:18 +0200 Subject: [PATCH] Remove habitica integration Signed-off-by: Knut Ahlers --- bin/git-c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/git-c b/bin/git-c index 809a62c..cd8ef4a 100755 --- a/bin/git-c +++ b/bin/git-c @@ -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