-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathjustfile
More file actions
42 lines (32 loc) · 789 Bytes
/
Copy pathjustfile
File metadata and controls
42 lines (32 loc) · 789 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
35
36
37
38
39
40
41
42
# org-project-capture justfile
cask := "cask"
emacs := `which emacs`
# Default recipe - show available commands
default:
@just --list
# Install dependencies
install:
{{cask}} install
# Compile all elisp files
compile: install
{{cask}} build --verbose
# Remove compiled files
clean-elc:
rm -f *.elc
# Recompile from scratch
recompile: clean-elc compile
# Remove all build artifacts
clean: clean-elc
rm -rf .cask/
# Run tests
test: recompile
{{cask}} exec ert-runner -L .
# Run tests without recompiling
test-only:
{{cask}} exec ert-runner -L .
# Lint elisp files
lint: install
{{cask}} exec {{emacs}} --batch -L . \
--eval "(require 'checkdoc)" \
--eval "(setq checkdoc-arguments-in-order-flag nil)" \
-f checkdoc-file *.el