From 481e0d8b35ed16231a069c80a179ab7de606cc91 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 5 Aug 2019 10:32:59 +0200 Subject: [PATCH] Update Readme --- Makefile | 11 +++++++++++ README.md | 22 +++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1b593ac --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.DEFAULT_GOAL := build + +build: + make check + lein codox + lein uberjar + +check: + lein cljfmt check + clj-kondo --lint src + lein kibit diff --git a/README.md b/README.md index 63b186e..76f91cb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # isahn +Important stories alert for Hacker News. + +[Telegram channel](https://leiningen.org/) + +The entire code in this repository is in charge of feeding the Telegram channel. Every hour check for a new story with more than 600 points in Hacker News. + ## Installation ``` sh @@ -9,7 +15,15 @@ cp config-example.edn config.edn ## Usage ``` sh -java -jar isahn-[version]-standalone.jar +java -jar target/uberjar/isahn-[version]-standalone.jar +``` + +## Build + +Install [Leingengen](https://leiningen.org/) and then... + +``` sh +make ``` ## Development @@ -37,3 +51,9 @@ lein auto kibit ``` sh lein codox ``` + +### All + +``` sh +make check +```