Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
58 lines (49 loc) · 2 KB
/
Copy pathjustfile
File metadata and controls
58 lines (49 loc) · 2 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
mod devhost 'apps/devhost/justfile'
mod design 'packages/design/justfile'
mod ui 'packages/devhost-ui/justfile'
mod docs 'packages/docs/justfile'
mod demo 'packages/devhost-ui/scripts/demo/justfile'
mod playground-backend 'packages/playground/backend/justfile'
mod playground-frontend 'packages/playground/frontend/justfile'
mod archify 'docs/internal/architecture/justfile'
# Run devhost from source in the calling directory
cli *args: (devhost::run args)
# Run devhost from source in the calling directory with agent-facing output
run-ai *args: (devhost::run-ai args)
# Run every workspace test suite
test:
bash test-support/runTests.test.sh
just devhost test
just design test
just ui test
just docs test
just playground-frontend test
# Run full repo formatting, policy, and package checks
check:
@echo 'Running formatting and policy checks...'
bun typescript-ai-policy check
@echo 'Formatting and policy checks passed successfully!'
bash test-support/runTests.test.sh
just devhost check
just design check
just ui check
just docs check
just playground-frontend check
# Human-only repo-wide formatting command for explicit manual cleanup
fix:
bun --bun oxfmt --write .
gofmt -w apps/devhost
# Build and register a protected devhost development override
dev-bootstrap $dotfiles_dir=(env_var("HOME") / ".dotfiles"):
revision="$(git rev-parse --short HEAD)" && just --justfile apps/devhost/justfile --set build-version "999.0.0-dev.$revision" --set build-source-directory "{{ justfile_directory() }}" compile
bun run ./apps/devhost/scripts/devBootstrap.ts
# Start the root devhost stack using machine routing
run: devhost::build-devtools-bundle
apps/devhost/scripts/runFromSource.sh start --manifest devhost.toml
# Clean all node_modules directories across the repository
clean:
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
# Prepare dependencies for local development.
setup:
bun install --frozen-lockfile
just devhost setup