-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjustfile
More file actions
51 lines (37 loc) · 1000 Bytes
/
justfile
File metadata and controls
51 lines (37 loc) · 1000 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
43
44
45
46
47
48
49
50
51
# Flow build tasks
# Default: build everything
default: build
# Build helper and main app
build: build-helper build-app
# Build just the helper
build-helper:
cd FlowHelper && swift build
# Build just the main app
build-app:
swift build
# Build release versions
release: release-helper release-app
release-helper:
cd FlowHelper && swift build -c release
release-app:
swift build -c release
# Run the app (builds helper first if needed)
run: build-helper
swift run
# Clean all build artifacts
clean:
rm -rf .build
rm -rf FlowHelper/.build
# Build and run
dev: build run
# Format code (if swift-format available)
fmt:
swift-format -i -r Sources/ || echo "swift-format not installed"
swift-format -i -r FlowHelper/Sources/ || echo "swift-format not installed"
# Check the Rust core builds
rust:
cd flow-core && cargo build
rust-release:
cd flow-core && cargo build --release
# Full release build (Rust + Swift)
full-release: rust-release release