summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Damien Cassou2021-03-16 20:27:41 +0100
committerGravatar Damien Cassou2021-03-16 20:27:41 +0100
commitbded83df3bba63ea6336eeec7191eced23c26653 (patch)
treeddb347cf5d94cf58adfd2827b4b14981ef4bcfc8 /Makefile
parent72bc00f3ec82fea8648a7fc7848c5ee1bfefe57e (diff)
downloadnroam-bded83df3bba63ea6336eeec7191eced23c26653.tar.gz
nroam-bded83df3bba63ea6336eeec7191eced23c26653.zip
Facilitate building and checking
* .github/workflows/test.yml: new file. Make GitHub Actions check each PR. * Makefile: new file. Use makel to simplify checking of the project quality. * .gitignore: new file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..349145d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+ELPA_DEPENDENCIES=package-lint
+
+ELPA_ARCHIVES=melpa-stable gnu
+
+LINT_CHECKDOC_FILES=$(wildcard *.el)
+LINT_PACKAGE_LINT_FILES=nroam.el
+LINT_COMPILE_FILES=$(wildcard *.el)
+
+makel.mk:
+ # Download makel
+ @if [ -f ../makel/makel.mk ]; then \
+ ln -s ../makel/makel.mk .; \
+ else \
+ curl \
+ --fail --silent --show-error --insecure --location \
+ --retry 9 --retry-delay 9 \
+ -O https://gitlab.petton.fr/DamienCassou/makel/raw/v0.6.0/makel.mk; \
+ fi
+
+# Include makel.mk if present
+-include makel.mk