blob: 565df976abc94a2bad1a8a2a2ff6991c96cc6061 (
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
|
;;; init-tests.el --- tests init file -*- coding: utf-8; lexical-binding: t; -*-
;;; Commentary:
;;
;; Load this file to setup MELPA and tests-related packages.
;;
;;; Code:
;; Setup MELPA
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
(add-to-list 'package-archives
(cons "melpa" (concat proto "://melpa.org/packages/")) t))
(package-initialize)
;; Optionally: bootstrap use-package for declarative package specs
;(unless (package-installed-p 'use-package)
;(package-refresh-contents)
;(package-install 'use-package))
;(eval-when-compile
; (require 'use-package))
;; Bootstrap ert-async
(unless (package-installed-p 'ert-async)
(package-refresh-contents)
(package-install 'ert-async))
(eval-when-compile
(require 'ert-async))
(provide 'init-tests)
;;; init-tests.el ends here
|