From bded83df3bba63ea6336eeec7191eced23c26653 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 16 Mar 2021 20:27:41 +0100 Subject: 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. --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf