[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold ec4c14c7e2 029/417: Add makefile for CI
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold ec4c14c7e2 029/417: Add makefile for CI |
Date: |
Mon, 1 Jul 2024 10:02:07 -0400 (EDT) |
branch: elpa/treesit-fold
commit ec4c14c7e293b741eede5b173fa83dbd0b8762c6
Author: JenChieh <jcs090218@gmail.com>
Commit: JenChieh <jcs090218@gmail.com>
Add makefile for CI
---
Makefile | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..c71a00a026
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,29 @@
+SHELL := /usr/bin/env bash
+
+EMACS ?= emacs
+CASK ?= cask
+
+PKG-FILES := tree-sitter-fold.el
+
+TEST-FILES := $(shell ls test/tree-sitter-fold-*.el)
+
+.PHONY: clean checkdoc lint unix-build unix-compile unix-test
+
+unix-ci: clean unix-build unix-compile
+
+unix-build:
+ $(CASK) install
+
+unix-compile:
+ @echo "Compiling..."
+ @$(CASK) $(EMACS) -Q --batch \
+ -L . \
+ --eval '(setq byte-compile-error-on-warn t)' \
+ -f batch-byte-compile $(PKG-FILES)
+
+unix-test:
+ @echo "Testing..."
+ $(CASK) exec ert-runner -L . $(LOAD-TEST-FILES) -t '!no-win' -t '!org'
+
+clean:
+ rm -rf .cask *.elc
- [nongnu] elpa/treesit-fold 1ea3f22f9a 145/417: Update mag, (continued)
- [nongnu] elpa/treesit-fold 1ea3f22f9a 145/417: Update mag, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bb757d3afb 021/417: Add keywords, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9695389e7e 020/417: Merge header, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 98d7f91173 028/417: Use markdown readme instead, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a826237d17 024/417: Add ignore, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 23558465b6 033/417: Fix docstring, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 4fbe88f721 032/417: Remove compiled, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9be3f5b086 034/417: Update readme, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5986e9e3c9 035/417: Remove code block, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 10cd5dfc38 025/417: Add license, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold ec4c14c7e2 029/417: Add makefile for CI,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold a6a1500445 040/417: Add c and c++ support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bf295cd834 041/417: Add more details, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6bdfc84909 043/417: Add js, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 1abf9923ee 042/417: Add js, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 41b39499aa 047/417: Allow warnings, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6ea9943f9d 048/417: Place CI badge under, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 05d2b87611 056/417: Add offset, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold fcd5828d3f 058/417: Update Cask, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 045841504e 059/417: Simplify node alist, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 17d029c8bd 064/417: Update Cask, ELPA Syncer, 2024/07/01