Add "make compile" and "make cask" shell commands

Use "make cask" to install the dependencies.
Use "make compile" to byte-compile counsel-projectile.el.
This commit is contained in:
Oleh Krehel 2016-04-14 12:25:16 +02:00
parent 8d2f806d20
commit 58d75804ff
5 changed files with 36 additions and 0 deletions

3
targets/compile.el Normal file
View file

@ -0,0 +1,3 @@
(setq files '("counsel-projectile.el"))
(setq byte-compile--use-old-handlers nil)
(mapc #'byte-compile-file files)

6
targets/elpa.el Normal file
View file

@ -0,0 +1,6 @@
(setq package-user-dir
(expand-file-name (format ".cask/%s/elpa" emacs-version)))
(package-initialize)
(message "ELPA dir: %S" package-user-dir)
(add-to-list 'load-path default-directory)