mobile bluesky app made with flutter
lazurite.stormlightlabs.org/
mobile
bluesky
flutter
1export FLUTTER_SUPPRESS_ANALYTICS := "true"
2export DART_SUPPRESS_ANALYTICS := "true"
3
4# Format all Dart files
5format:
6 dart format lib test
7
8alias fmt := format
9
10# Run static analysis
11lint:
12 flutter analyze
13
14# Install pinned ObjectBox runtime library for local development
15objectbox-setup:
16 bash scripts/objectbox_runtime.sh install
17
18# Verify ObjectBox runtime library is present (fails fast if missing)
19objectbox-check:
20 bash scripts/objectbox_runtime.sh check
21
22# Test with failures only to focus on failures and hanging tests
23test-quiet *paths='':
24 just objectbox-check
25 flutter test {{ paths }} --reporter=failures-only --fail-fast --timeout=120s
26
27# Run all tests
28test *paths='':
29 just objectbox-check
30 flutter test {{ paths }} --fail-fast --timeout=120s
31
32generate:
33 flutter pub run build_runner build --delete-conflicting-outputs
34
35# Generate splash PNG source assets from SVG using Bun
36generate-splash-assets:
37 cd scripts && bun run generate-native-splash-assets
38
39# Apply flutter_native_splash config to platform projects
40generate-native-splash:
41 dart run flutter_native_splash:create --path=flutter_native_splash.yaml
42
43# End-to-end native splash generation
44splash: generate-splash-assets generate-native-splash
45
46# Run code gen
47gen: generate format
48
49# Run format, lint, and test
50check: format lint test
51
52find-comments:
53 rg -n --pcre2 '^\s*//(?![!/])' -g '*.dart' -g '!*.g.dart' -g '!*.freezed.dart'
54
55alias cmt := find-comments