-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
35 lines (26 loc) · 718 Bytes
/
justfile
File metadata and controls
35 lines (26 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# List available recipes
help:
@just --list
# Run ERT tests
test:
emacs --batch -L . -l fm-ruff-tests.el -f ert-run-tests-batch-and-exit
# Install cask dependencies
cask-install:
cask install
# Run package-lint
lint: cask-install
cask exec emacs --batch -L . -l package-lint -f package-lint-batch-and-exit fm-ruff.el
# Update nix flake inputs
update:
nix flake update
# Run tests with emacs 29 inside nix dev shell
nix-test-29:
nix develop .#emacs29 -c just test
# Run tests with emacs 30 inside nix dev shell
nix-test:
nix develop . -c just test
# Run tests with Emacs 29
nix-test-all: nix-test-29 nix-test
# Run lint inside nix dev shell
nix-lint:
nix develop . -c just lint