From e1a6110cc2b1afb8019350a3222eda73f63b59ac Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Mon, 29 Jun 2015 14:42:07 -0700 Subject: [PATCH] Added download_stats target to Makefile. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce7d0a6ad..99675c4e9 100644 --- a/Makefile +++ b/Makefile @@ -47,8 +47,12 @@ osxpkg: %.5: %.5.template README ${makemanpages} +download_stats: + curl https://api.github.com/repos/jgm/pandoc/releases | \ + jq '[.[] | .assets | .[] | {name: .name, download_count: .download_count}]' + clean: cabal clean -rm -rf $(BINDIST) $(BINDIST).tar.gz -.PHONY: deps quick full install man clean test bench haddock osxpkg dist bindist prof +.PHONY: deps quick full install man clean test bench haddock osxpkg dist bindist prof download_stats