chore: add Eask pipeline
All checks were successful
CI / build (29.4) (push) Successful in 1m17s
CI / build (snapshot) (push) Successful in 1m3s

This commit is contained in:
Lucien Cartier-Tilet 2024-09-12 23:12:45 +02:00
parent 570d97004d
commit 75a0d5887e
Signed by: phundrak
GPG Key ID: 347803E8073EACE0
7 changed files with 100 additions and 9 deletions

4
.dir-locals.el Normal file
View File

@ -0,0 +1,4 @@
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
((emacs-lisp-mode . ((sentence-end-double-space . t))))

24
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,24 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 29.4
- snapshot
steps:
- uses: actions/checkout@v4
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: emacs-eask/setup-eask@master
with:
version: 'snapshot'
- name: "Execute Eask CI"
run: make ci

19
Eask Normal file
View File

@ -0,0 +1,19 @@
;;; -*- mode: cask -*-
(package "conlanging"
"0.1.0"
"Helper functions for conlanging")
(website-url "https://labs.phundrak.com/phundrak/conlanging.el")
(keywords "convenience")
(package-file "conlanging.el")
(script "test" "echo \"Error: no test specified\" && exit 1")
(source "gnu")
(depends-on "emacs" "26.1")
(depends-on "ivy" "0.13")
(depends-on "org" "9")
(depends-on "counsel" "0.13")
(depends-on "dash" "2.19")

38
Makefile Normal file
View File

@ -0,0 +1,38 @@
EMACS ?= emacs
EASK ?= eask
.PHONY: clean package install compile test checkdoc lint
ci: clean package install compile checkdoc lint
package:
@echo "Packaging..."
$(EASK) package
install:
@echo "Installing..."
$(EASK) install
compile:
@echo "Compiling..."
$(EASK) compile
test:
@echo "Testing..."
$(EASK) install-deps --dev
$(EASK) test ert ./test/*.el
checkdoc:
@echo "Checking documentation..."
$(EASK) lint checkdoc
lint:
@echo "Linting..."
$(EASK) lint declare
$(EASK) lint indent
$(EASK) lint keywords
$(EASK) lint package
$(EASK) lint regexps
clean:
$(EASK) clean all

View File

@ -3,7 +3,6 @@
;; Author: Lucien Cartier-Tilet <lucien@phundrak.com>
;; Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
;; Version: 0.1.0
;; Package-Requires: ((emacs "29.1") (dash "2.19"))
;; Homepage: https://labs.phundrak.com/phundrak/conlanging.el
;; Keywords: convenience
@ -23,6 +22,10 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; This file includes functions to help write the documentation for
;; the Eittlandic language faster.
;;; Code:
(require 'dash)
@ -147,8 +150,8 @@ list, going in the following order:
The function will know how to create the declensions on ROOT
depending on its GENDER and its STRENGTH (whether it is a strong
or weak noun). The UNDERLYING-VOWEL may or may not be nil and can
influence the word's declensions."
or weak noun). The UNDERLYING-VOWEL may or may not be nil and
can influence the word's declensions."
(interactive
(list
(read-string "Word root: ")

View File

@ -3,7 +3,6 @@
;; Author: Lucien Cartier-Tilet <lucien@phundrak.com>
;; Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
;; Version: 0.1.0
;; Package-Requires: ((emacs "26.1"))
;; Homepage: https://labs.phundrak.com/phundrak/conlanging.el
;; Keywords: convenience
@ -23,6 +22,9 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; This file includes functions to create conlanging-related graphs,
;; namely graphs of phonemes based on their phonological features.
;;; Code:
(require 'ox)
@ -87,7 +89,7 @@ tree itself."
LABEL is the label of the root node.
PREVIOUS is for internal use. It refers to the parent node of
:PREVIOUS is for internal use. It refers to the parent node of
NODE if NODE is a subtree of the root tree."
(cond
((stringp node) ;; it's a leaf!

View File

@ -3,8 +3,9 @@
;; Author: Lucien Cartier-Tilet
;; Maintainer: Lucien Cartier-Tilet
;; Version: 0.1.0
;; Package-Requires: ((emacs "24") (org "9") (ivy "0.13") (counsel "0.13"))
;; Package-Requires: ((emacs "29") (org "9") (ivy "0.13") (counsel "0.13") (dash "2.19"))
;; Homepage: https://labs.phundrak.com/phundrak/conlanging.el
;; Keywords: convenience
;; This file is not part of GNU Emacs