Skip to content

Commit

Permalink
test: Add basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Nov 19, 2024
1 parent eeeee59 commit 553276f
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# ignore these extensions
*.elc

/.eask
/dist
20 changes: 20 additions & 0 deletions Eask
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
(package "lsp-ivy"
"0.5"
"LSP ivy integration")

(website-url "https://github.com/emacs-lsp/lsp-ivy")
(keywords "languages" "debug")

(package-file "lsp-ivy.el")

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

(source "gnu")
(source "melpa")

(depends-on "emacs" "27.1")
(depends-on "dash" "2.14.1")
(depends-on "lsp-mode" "6.2.1")
(depends-on "ivy" "0.13.0")

(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
File renamed without changes.
33 changes: 33 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
EMACS ?= emacs
EASK ?= eask

.PHONY: clean checkdoc lint package install compile test

ci: clean package install compile

package:
@echo "Packaging..."
$(EASK) package

install:
@echo "Installing..."
$(EASK) install

compile:
@echo "Compiling..."
$(EASK) compile

test:
@echo "Testing..."
$(EASK) test ert ./test/*.el

checkdoc:
@echo "Run checkdoc..."
$(EASK) lint checkdoc

lint:
@echo "Run package-lint..."
$(EASK) lint package

clean:
$(EASK) clean all
3 changes: 2 additions & 1 deletion lsp-ivy.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
;;; lsp-ivy.el --- LSP ivy integration -*- lexical-binding: t; -*-

;; Copyright (C) 2019 Sebastian Sturm
;; Copyright (C) 2024 emacs-lsp maintainers

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
Expand All @@ -19,7 +20,7 @@
;; Oliver Rausch
;; Keywords: languages, debug
;; URL: https://github.com/emacs-lsp/lsp-ivy
;; Package-Requires: ((emacs "25.1") (dash "2.14.1") (lsp-mode "6.2.1") (ivy "0.13.0"))
;; Package-Requires: ((emacs "27.1") (dash "2.14.1") (lsp-mode "6.2.1") (ivy "0.13.0"))
;; Version: 0.5
;;

Expand Down

0 comments on commit 553276f

Please sign in to comment.