-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (33 loc) · 834 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package-install:
git clone https://github.com/cask/cask ~/.cask
~/.cask/bin/cask install
lisp-test:
echo Test start...
~/.cask/bin/cask exec emacs \
-Q -batch \
-L . \
-l test/ob-git-permalink-test.el \
-f ert-run-tests-batch-and-exit
elisp-lint:
echo Elisp lint start...
~/.cask/bin/cask exec emacs \
-Q -batch \
-L . \
-l ob-git-permalink.el \
--eval "(require 'elisp-lint)" \
-f elisp-lint-files-batch --no-indent ob-git-permalink.el
package-lint:
echo Package lint start...
~/.cask/bin/cask exec emacs \
-Q -batch \
-L . \
-l ob-git-permalink.el \
--eval "(require 'package-lint)" \
-f package-lint-batch-and-exit
byte-compile:
echo Byte compile start...
~/.cask/bin/cask exec emacs \
-Q -batch \
-L . \
--eval "(setq byte-compile-error-on-warn t)" \
-f batch-byte-compile *.el