Require dash, org to run ERT tests for khoj.el

This commit is contained in:
Debanjum Singh Solanky 2023-03-23 01:46:26 +04:00
parent 06df394d6c
commit e9ca04af0d
2 changed files with 7 additions and 2 deletions

View file

@ -42,7 +42,10 @@ jobs:
(push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) \ (push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) \
(package-initialize) \ (package-initialize) \
(unless package-archive-contents (package-refresh-contents)) \ (unless package-archive-contents (package-refresh-contents)) \
(unless (package-installed-p 'transient) (package-install 'transient)))" \ (unless (package-installed-p 'transient) (package-install 'transient)) \
(unless (package-installed-p 'dash) (package-install 'dash)) \
(unless (package-installed-p 'org) (package-install 'org)) \
)" \
-l ert \ -l ert \
-l ./src/interface/emacs/khoj.el \ -l ./src/interface/emacs/khoj.el \
-l ./src/interface/emacs/tests/khoj-tests.el \ -l ./src/interface/emacs/tests/khoj-tests.el \

View file

@ -4,7 +4,7 @@
;; Author: Debanjum Singh Solanky <debanjum@gmail.com> ;; Author: Debanjum Singh Solanky <debanjum@gmail.com>
;; Version: 0.0.0 ;; Version: 0.0.0
;; Package-Requires: ((emacs "27.1") (transient "0.3.0")) ;; Package-Requires: ((emacs "27.1") (transient "0.3.0") (dash "2.19.1") (org "9.0.0"))
;; URL: https://github.com/debanjum/khoj/tree/master/src/interface/emacs ;; URL: https://github.com/debanjum/khoj/tree/master/src/interface/emacs
;;; License: ;;; License:
@ -28,8 +28,10 @@
;;; Code: ;;; Code:
(require 'dash)
(require 'ert) (require 'ert)
(require 'khoj) (require 'khoj)
(require 'org)