aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-06 10:31:49 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-09-06 12:40:08 +0200
commitde625b60fba3d9a9ff7bbf9126a9f0b89968cb6b (patch)
tree94de0865bfc494186159070b1ae3df5104a963d0 /Makefile
parent39f737632ec2765869583752a99028311ff36003 (diff)
downloadbugzilla-triage-de625b60fba3d9a9ff7bbf9126a9f0b89968cb6b.tar.gz
Cache the configuration JSON.
So it is available when the website is down and speeds up startup (I hope). Fixes #94.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 08a614d..29fdcc9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+VERNO=$(shell js -e 'print(JSON.parse(read("package.json")).version);')
WEBDIR=/home/matej/Dokumenty/website/fedorahosted/
UPSTREAM_XPI_URL=https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-$(VERNO).xpi
UPDATE_URL=https://fedorahosted.org/released/bugzilla-triage-scripts/update.rdf