-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
63 lines (48 loc) · 1.07 KB
/
justfile
File metadata and controls
63 lines (48 loc) · 1.07 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
# GhostKeys Task Runner
# Install just: cargo install just
# Run: just <task>
# Default task - show available commands
default:
@just --list
# Build for current platform (debug)
build:
cargo build
# Build for current platform (release)
build-release:
cargo build --release
# Build for Windows (cross-compile from Linux)
build-windows:
cargo xwin build --target x86_64-pc-windows-msvc --release
# Run the application
run:
cargo run
# Run tests
test:
cargo test
# Run tests with output
test-verbose:
cargo test -- --nocapture
# Check code without building
check:
cargo check
# Format code
fmt:
cargo fmt
# Lint with clippy
lint:
cargo clippy -- -W clippy::all
# Clean build artifacts
clean:
cargo clean
# Generate changelog
changelog:
git cliff -o CHANGELOG.md
# Generate changelog for current tag only
changelog-release:
git cliff --current --strip header
# Install development dependencies
setup:
cargo install cargo-xwin just git-cliff
# Full CI check (format, lint, test)
ci: fmt lint test
@echo "All CI checks passed!"