Browse Source

Replace emake with makel

tags/v1.0.0
Damien Cassou 1 year ago
parent
commit
6dd55b6836
Signed by: Damien Cassou <damien@cassou.me> GPG Key ID: B68746238E59B548
3 changed files with 19 additions and 18 deletions
  1. +1
    -4
      .gitignore
  2. +1
    -0
      .gitlab-ci.yml
  3. +17
    -14
      Makefile

+ 1
- 4
.gitignore View File

@@ -1,6 +1,3 @@
/README.html
/nohup.out
/emake.el
/emake.mk
/.elpa
/.elpa.test
/makel.mk

+ 1
- 0
.gitlab-ci.yml View File

@@ -1,6 +1,7 @@
.test_job_template: &test_job_definition
script:
- emacs --version
- make ci-dependencies
- make check

test:emacs:25.1:

+ 17
- 14
Makefile View File

@@ -1,18 +1,21 @@
PACKAGE_BASENAME = mpdel
ELPA_DEPENDENCIES=package-lint libmpdel

export CI=false
ELPA_ARCHIVES=melpa

emake.mk:
curl --fail --silent --show-error --insecure --location --retry 9 --retry-delay 9 -O \
https://raw.githubusercontent.com/vermiculus/emake.el/master/emake.mk
LINT_CHECKDOC_FILES=$(wildcard *.el)
LINT_PACKAGE_LINT_FILES=$(wildcard *.el)
LINT_COMPILE_FILES=$(wildcard *.el)

# Include emake.mk if present
-include emake.mk

.PHONY: check lint
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.2.0/makel.mk; \
fi

check: lint

lint: PACKAGE_LISP += $(PACKAGE_TESTS)
lint: PACKAGE_ARCHIVES += melpa-stable
lint: lint-checkdoc lint-package-lint compile
# Include emake.mk if present
-include makel.mk

Loading…
Cancel
Save