diff options
| author | David Shepherd <davidshepherd7@gmail.com> | 2017-03-16 08:44:11 +0000 |
|---|---|---|
| committer | David Shepherd <davidshepherd7@gmail.com> | 2017-03-16 08:47:15 +0000 |
| commit | e67f64a1b655462730a113af88b8089d3c7d22d1 (patch) | |
| tree | 951a7ac3f6e4cded5ccbc4e70fcfc4810cbbc147 | |
| parent | Initial code (diff) | |
| download | emacs-terminal-here-e67f64a1b655462730a113af88b8089d3c7d22d1.tar.gz | |
Add build system
| -rw-r--r-- | .travis.yml | 24 | ||||
| -rw-r--r-- | Cask | 9 | ||||
| -rw-r--r-- | Makefile | 16 |
3 files changed, 49 insertions, 0 deletions
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 @@ -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 |
