Browse Source

Replace emake with makel

pull/4/head
Damien Cassou 4 years ago
parent
commit
2b4836033f
Signed by: DamienCassou GPG Key ID: B68746238E59B548
2 changed files with 17 additions and 18 deletions
  1. +1
    -0
      .gitlab-ci.yml
  2. +16
    -18
      Makefile

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

@ -3,6 +3,7 @@ image: ubuntu:latest
.test_job_template: &test_job_definition
script:
- emacs --version
- make ci-dependencies
- make check
test:emacs:25.1:


+ 16
- 18
Makefile View File

@ -1,23 +1,21 @@
PACKAGE_BASENAME = libmpdel
ELPA_DEPENDENCIES=package-lint
CURL = curl --fail --silent --show-error --insecure --location --retry 9 --retry-delay 9
GITHUB = https://raw.githubusercontent.com
ELPA_ARCHIVES=melpa
export CI=false
LINT_CHECKDOC_FILES=$(wildcard *.el) $(wildcard test/*.el)
LINT_PACKAGE_LINT_FILES=$(wildcard *.el) $(wildcard test/*.el)
LINT_COMPILE_FILES=$(wildcard *.el) $(wildcard test/*.el)
EMAKE_SHA1=4323e76b4bf2c78c54e8d78f794ddf26898743de
emake.mk:
$(CURL) -O ${GITHUB}/vermiculus/emake.el/${EMAKE_SHA1}/emake.mk
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
# Include emake.mk if present
-include emake.mk
.PHONY: check lint test
check: lint test
lint: PACKAGE_LISP += $(PACKAGE_TESTS)
lint: lint-checkdoc lint-package-lint compile
test: test-ert
-include makel.mk

Loading…
Cancel
Save