Added download_stats target to Makefile.
commite1a6110cc2b1afb8019350a3222eda73f63b59ac
authorJohn MacFarlane <jgm@berkeley.edu>
dateMon 29 Jun 2015, 14:42 (11 years ago)
parent226a5cd
Makefile+5−1
@@ -47,8 +47,12 @@ osxpkg:
4747%.5: %.5.template README
4848 ${makemanpages}
4949
50+download_stats:
51+ curl https://api.github.com/repos/jgm/pandoc/releases | \
52+ jq '[.[] | .assets | .[] | {name: .name, download_count: .download_count}]'
53+
5054clean:
5155 cabal clean
5256 -rm -rf $(BINDIST) $(BINDIST).tar.gz
5357
54−.PHONY: deps quick full install man clean test bench haddock osxpkg dist bindist prof
58+.PHONY: deps quick full install man clean test bench haddock osxpkg dist bindist prof download_stats