diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 2a5df1a..ef0fa7f 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: emacs_version: - - release-snapshot + - 29.2 - 29.1 - 28.2 - 27.2 @@ -29,19 +29,23 @@ jobs: - uses: purcell/setup-emacs@master with: version: ${{ matrix.emacs_version }} + - uses: cask/setup-cask@v1 + with: + version: 0.9.0 - uses: leotaku/elisp-check@v1.3 with: file: "justl.el" check: melpa ignore_warnings: ${{ matrix.ignore_warnings }} warnings_as_errors: false - - name: ERT tests - uses: leotaku/elisp-check@master - with: - file: ./test/justl-test.el - check: ert - ignore_warnings: ${{ matrix.ignore_warnings }} - warnings_as_errors: true + - name: Run tests + run: | + emacs --version + cask install + cask build + mv test/justfile ./justfile + cask emacs --batch -L . -L test -f batch-byte-compile $(cask files) + cask emacs --batch -L . -L test -l test/justl-test.el -f ert-run-tests-batch-and-exit - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/Cask b/Cask new file mode 100644 index 0000000..f4abccd --- /dev/null +++ b/Cask @@ -0,0 +1,10 @@ +(source gnu) +(source melpa) + +(package-file "justl.el") + +(development + (depends-on "transient") + (depends-on "s") + (depends-on "f") + (depends-on "inheritenv")) diff --git a/Changelog.org b/Changelog.org index 40ca09a..d150478 100644 --- a/Changelog.org +++ b/Changelog.org @@ -1,4 +1,4 @@ -* Unreleased +* 0.14 - Respect buffer-local environments, for compatibility with ~envrc.el~ when ~just~ is installed on a per-project basis. @@ -6,6 +6,7 @@ list (defaults to on). - Rewritten internals, using ~just~ itself to parse recipe information. - Add ~justl-per-recipe-buffer~ to create new buffers per recipe. +- Use Cask for development and testing. * 0.13 diff --git a/justl.el b/justl.el index a762d96..18cd4d3 100644 --- a/justl.el +++ b/justl.el @@ -19,7 +19,7 @@ ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ;; USA -;; Version: 0.13 +;; Version: 0.14 ;; Author: Sibi Prabakaran ;; Keywords: just justfile tools processes ;; URL: https://github.com/psibi/justl.el