summaryrefslogtreecommitdiff
path: root/Eask
blob: 957c278cab5590d17e9b56d9c4412bfe45460bc1 (plain)
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
38
39
40
41
42
43
44
45
46
47
;; -*- mode: eask; lexical-binding: t -*-

(package "evil-collection"
         "0.0.2"
         "A set of keybindings for Evil mode")

(website-url "https://github.com/emacs-evil/evil-collection")
(keywords "evil" "tools")

(package-file "evil-collection.el")
(files "modes/*/*.el" '(:exclude "modes/magit/*.el" "modes/magit-repos/*.el"))

(script "test" "echo \"Error: no test specified\" && exit 1")

(source 'gnu)
(source 'melpa)

(depends-on "emacs" "27.2")
(depends-on "evil")
(depends-on "annalist")

(development
 (depends-on "f")
 (depends-on "ert-runner")
 (depends-on "package-lint")
 (depends-on "magit"))

(setq network-security-level 'low)  ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432

;; Workaround for https://github.com/magit/magit/issues/5489
(setq magit-credential-cache-daemon-socket nil)

(add-hook 'eask-before-compile-hook
           (lambda (&rest _)
             (setq evil-want-integration nil)
             (setq evil-want-keybinding nil)
             (setq byte-compile-docstring-max-column 200)
             (setq byte-compile-error-on-warn t)))

(add-hook 'eask-before-lint/package-hook
           (lambda (&rest _)
             (advice-add 'package-lint--error-at-bol :around 'ignore)  ; ignore headers
             (advice-add 'package-lint--check-eval-after-load :around 'ignore)
             (advice-add 'package-lint--check-version-regexp-list :around 'ignore)
             (advice-add 'package-lint--check-symbol-separators :around 'ignore)
             (advice-add 'package-lint--check-defs-prefix :around 'ignore)
             (advice-add 'package-lint--check-provide-form :around 'ignore)))