-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
95 lines (67 loc) · 1.43 KB
/
Copy pathjustfile
File metadata and controls
95 lines (67 loc) · 1.43 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Gleam Project Tasks
# === ALIASES ===
alias b := build
alias t := test
alias f := format
alias c := check
alias d := docs
alias cl := change
default:
@just --list
# === DEPENDENCIES ===
# Download project dependencies
deps:
gleam deps download
# === BUILD ===
# Build project (Erlang target)
build:
gleam build
# Build with warnings as errors
build-strict:
gleam build --warnings-as-errors
# === TESTING ===
# Run all tests
test:
gleam test
# === CODE QUALITY ===
# Format source code
format:
gleam format src test examples/src
# Check formatting without changes
format-check:
gleam format --check src test examples/src
# Type check without building
check:
gleam check
# === DOCUMENTATION ===
# Build documentation
docs:
gleam docs build
# === CHANGELOG ===
# Create a new changelog entry
change:
changie new
# Preview unreleased changelog
changelog-preview:
changie batch auto --dry-run
# Generate CHANGELOG.md
changelog:
changie merge
# === MAINTENANCE ===
# Remove build artifacts
clean:
rm -rf build
# === EXAMPLES ===
# Type-check example applications
check-examples:
cd examples && gleam check
# Build example applications
build-examples:
cd examples && gleam build
# === CI ===
# Run all CI checks (format, check, test, build)
ci: format-check check test build-strict check-examples
# Alias for PR checks
alias pr := ci
# Run extended checks for main branch
main: ci docs