From e67f64a1b655462730a113af88b8089d3c7d22d1 Mon Sep 17 00:00:00 2001 From: David Shepherd Date: Thu, 16 Mar 2017 08:44:11 +0000 Subject: Add build system --- .travis.yml | 24 ++++++++++++++++++++++++ Cask | 9 +++++++++ Makefile | 16 ++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 .travis.yml create mode 100644 Cask create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9bc9960 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: emacs-lisp + +script: + - evm install $EVM_EMACS --use --skip + - emacs --version + - cask install + - make test + +env: + matrix: + - EVM_EMACS=emacs-24.4-travis + - EVM_EMACS=emacs-24.5-travis + - EVM_EMACS=emacs-25.1-travis + - EVM_EMACS=emacs-git-snapshot-travis +matrix: + fast_finish: true + allow_failures: + - env: EVM_EMACS=emacs-git-snapshot-travis + +before_install: + - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh + +notifications: + email: false diff --git a/Cask b/Cask new file mode 100644 index 0000000..09fc48c --- /dev/null +++ b/Cask @@ -0,0 +1,9 @@ +(package "terminal-here" "0.1" "Run an external terminal in current directory") + +(files "terminal-here.el") + +;; Tell Cask to add package information to this file (so that we can have a +;; single file package). +(package-file "terminal-here.el") + +(source melpa-stable) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db738f9 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +EMACS=emacs +CASK ?= cask + +build : + cask exec $(EMACS) -Q --batch --eval \ + "(progn \ + (setq byte-compile-error-on-warn t) \ + (batch-byte-compile))" terminal-here.el + +clean : + @rm -f *.elc + +install: + ${CASK} install + +.PHONY: all test install clean build -- cgit v1.3