branch: externals/tmr commit e7f4566967e9761c29ec0f0d267f4f6bd8f0ba60 Author: Damien Cassou <dam...@cassou.me> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Makefile: New file to facilitate checking the code Just type "make check" in the project's directory to check everything is fine. --- .gitignore | 1 + Makefile | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/.gitignore b/.gitignore index 4cae3f143c..761f3c5032 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *-pkg.el tmr.info tmr.texi +/makel.mk diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..2ab12aa2a1 --- /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=$(wildcard *.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.7.1/makel.mk; \ + fi + +# Include makel.mk if present +-include makel.mk