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
96
97
98
99
# Enable sccache for all cargo builds
export CARGO_BUILD_RUSTC_WRAPPER := "sccache"
# Default: Show help menu
default:
@just help
# ============================================================================
# Help Command
# ============================================================================
help:
@echo ""
@echo "\033[1;36m======================================\033[0m"
@echo "\033[1;36m Project Commands \033[0m"
@echo "\033[1;36m======================================\033[0m"
@echo ""
@echo "\033[1;35m Most Common Commands:\033[0m"
@echo " just \033[0;33mdev\033[0m \033[0;32mStart showcase demo\033[0m"
@echo " just \033[0;33mbuild\033[0m \033[0;32mBuild the project\033[0m"
@echo " just \033[0;33mtest\033[0m \033[0;32mRun all tests\033[0m"
@echo " just \033[0;33mcheck\033[0m \033[0;32mRun all checks\033[0m"
@echo ""
@echo "\033[1;35m Development:\033[0m"
@echo " just \033[0;33mdev\033[0m \033[0;32mStart showcase demo\033[0m"
@echo " just \033[0;33mexample NAME\033[0m \033[0;32mRun a specific example\033[0m"
@echo ""
@echo "\033[1;35m Building:\033[0m"
@echo " just \033[0;33mbuild\033[0m \033[0;32mBuild the project\033[0m"
@echo ""
@echo "\033[1;35m Verification:\033[0m"
@echo " just \033[0;33mlint\033[0m \033[0;32mRun linter\033[0m"
@echo " just \033[0;33mfmt\033[0m \033[0;32mFormat code\033[0m"
@echo " just \033[0;33mfmt-check\033[0m \033[0;32mCheck formatting\033[0m"
@echo " just \033[0;33mcheck\033[0m \033[0;32mRun all verification\033[0m"
@echo ""
@echo "\033[1;35m Testing:\033[0m"
@echo " just \033[0;33mtest\033[0m \033[0;32mRun all tests\033[0m"
@echo ""
@echo "\033[1;35m Utilities:\033[0m"
@echo " just \033[0;33mclean\033[0m \033[0;32mClean build artifacts\033[0m"
@echo " just \033[0;33mdocs\033[0m \033[0;32mBuild & serve documentation\033[0m"
@echo " just \033[0;33mdocs-gh-pub\033[0m \033[0;32mBuild & publish docs to GitHub Pages\033[0m"
@echo ""
@echo "\033[1;35m Demos:\033[0m"
@echo " just \033[0;33mdemo\033[0m \033[0;32mPick and run an example\033[0m"
@echo " just \033[0;33mdemo-md\033[0m \033[0;32mMarkdown viewer demo\033[0m"
@echo " just \033[0;33mdemo-md-collapsed\033[0m \033[0;32mMarkdown demo (collapsed FM)\033[0m"
@echo " just \033[0;33mdemo-term\033[0m \033[0;32mTerminal pane demo\033[0m"
@echo " just \033[0;33mdemo-split\033[0m \033[0;32mSplit layout demo\033[0m"
@echo " just \033[0;33mdemo-codediff\033[0m \033[0;32mCode diff demo\033[0m"
@echo " just \033[0;33mdemo-aichat\033[0m \033[0;32mAI chat demo\033[0m"
@echo " just \033[0;33mdemo-filesystem\033[0m \033[0;32mFile system tree demo\033[0m"
@echo ""
# ============================================================================
# Development Commands
# ============================================================================
import 'justfiles/development/dev.just'
import 'justfiles/development/example.just'
import 'justfiles/development/demo.just'
# ============================================================================
# Building Commands
# ============================================================================
import 'justfiles/building/build.just'
# ============================================================================
# Verification Commands
# ============================================================================
import 'justfiles/verification/lint.just'
import 'justfiles/verification/fmt-check.just'
import 'justfiles/verification/check.just'
# ============================================================================
# Testing Commands
# ============================================================================
import 'justfiles/testing/test.just'
# ============================================================================
# Utilities Commands
# ============================================================================
import 'justfiles/utilities/fmt.just'
import 'justfiles/utilities/doc.just'
import 'justfiles/utilities/docs-gh-pub.just'
import 'justfiles/utilities/clean.just'
import 'justfiles/utilities/pub.just'
import 'justfiles/utilities/cast-record.just'
import 'justfiles/utilities/cast-interactive.just'
import 'justfiles/utilities/cast-replay.just'
import 'justfiles/utilities/cast-upload.just'
import 'justfiles/utilities/cast-gif.just'
import 'justfiles/utilities/demo-md.just'
import 'justfiles/utilities/demo-term.just'
import 'justfiles/utilities/demo-codediff.just'
import 'justfiles/utilities/demo-aichat.just'
import 'justfiles/utilities/demo-filesystem.just'
import 'justfiles/utilities/demo-split.just'
import 'justfiles/utilities/cast-clean.just'