Move to eask
All checks were successful
/ Test config on 20 (push) Successful in 27s

This commit is contained in:
Maciej 2024-08-15 18:34:46 +03:00
parent 40d1e1d4bb
commit 1a6b8836a3
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
9 changed files with 63 additions and 33 deletions

26
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,26 @@
on: [push]
jobs:
test:
name: Test config on ${{matrix.node}}
runs-on: docker
strategy:
matrix:
node: ["20"]
steps:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Setup NodeJS
uses: https://code.forgejo.org/actions/setup-node@v4
with:
node-version: ${{matrix.node}}
- name: Install eask
run: npm install -g @emacs-eask/cli
- name: Run tests
run: eask test buttercup
- name: Uninstall eask
run: npm uninstall -g @emacs-eask/cli

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
*.elc
/.cask/
/.eask/
/dist/

10
Cask
View file

@ -1,10 +0,0 @@
(source gnu)
(source melpa)
(package-file "counsel-projectile.el")
(files "*.el")
(development
(depends-on "counsel")
(depends-on "projectile"))

18
Eask Normal file
View file

@ -0,0 +1,18 @@
(package "counsel-projectile"
"0.4.0"
"Ivy integration for Projectile")
(website-url "https://git.icejam.ee/maciej/counsel-projectile")
(keywords "project" "convenience")
(package-file "counsel-projectile.el")
(source "gnu")
(source "melpa")
(depends-on "emacs" "26.1")
(depends-on "projectile")
(depends-on "counsel")
(development
(depends-on "buttercup"))

View file

@ -1,14 +1,13 @@
emacs ?= emacs
CASK = ~/.cask/bin/cask
BEMACS = $(emacs) -batch -l targets/elpa.el
EASK ?= eask
all: compile
cask:
$(CASK)
eask:
$(EASK)
compile:
$(BEMACS) -l targets/compile.el
$(EASK) compile
.PHONY: all compile clean cask

View file

@ -3,10 +3,10 @@
;; Copyright (C) 2016-2021 Eric Danan
;; Author: Eric Danan
;; URL: https://github.com/ericdanan/counsel-projectile
;; URL: https://git.icejam.ee/maciej/counsel-projectile
;; Keywords: project, convenience
;; Version: 0.3.2
;; Package-Requires: ((counsel "0.13.4") (projectile "2.5.0"))
;; Version: 0.4.0
;; Package-Requires: ((counsel "0.13.4") (projectile "2.5.0") (emacs "26.1"))
;; This file is NOT part of GNU Emacs.

View file

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

View file

@ -1,6 +0,0 @@
(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)

View file

@ -0,0 +1,5 @@
;;; -*- lexical-binding: t; -*-
(describe "counsel-projectile"
(it "always passes"
(expect 1 :to-equal 1)))