summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shepherd <davidshepherd7@gmail.com>2017-03-16 12:42:06 +0000
committerDavid Shepherd <davidshepherd7@gmail.com>2017-03-16 12:42:06 +0000
commitbd09ec03d5c8a132234e8a03fa35ff1b91147362 (patch)
tree47f24f9ba353d19bb4bc9f571939a2f70f886a5f
parentAdd function to launch in project root (diff)
downloademacs-terminal-here-bd09ec03d5c8a132234e8a03fa35ff1b91147362.tar.gz
Add package linting
-rw-r--r--Cask1
-rw-r--r--Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/Cask b/Cask
index 2a5d46f..b73c913 100644
--- a/Cask
+++ b/Cask
@@ -12,6 +12,7 @@
(development
(depends-on "ert-runner")
(depends-on "el-mock")
+ (depends-on "package-lint")
;; For testing defcustom types
(depends-on "validate"))
diff --git a/Makefile b/Makefile
index 9eada4c..d1e5fd2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
EMACS=emacs
CASK ?= cask
-build :
+package-lint:
+ cask exec $(EMACS) -Q --batch -l "package-lint.el" -f "package-lint-batch-and-exit" terminal-here.el
+
+build : package-lint
cask exec $(EMACS) -Q --batch --eval \
"(progn \
(setq byte-compile-error-on-warn t) \