-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
45 lines (34 loc) · 996 Bytes
/
Copy pathjustfile
File metadata and controls
45 lines (34 loc) · 996 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
set windows-shell := ["cmd.exe", "/c"]
default:
@just --list
setup:
@echo "Installing flutter_rust_bridge_codegen..."
cargo install flutter_rust_bridge_codegen
@echo "Activating Melos globally..."
dart pub global activate melos
just bootstrap
bootstrap:
dart pub get
melos run workspace-bootstrap
codegen:
melos run codegen
build-windows:
just codegen
cd packages/visp_core && cargo build
cd apps/visp_desktop && flutter build windows --debug
run-windows:
just build-windows
start apps/visp_desktop/build/windows/x64/runner/Debug/visp_desktop.exe
run target="windows":
just codegen
cd apps/visp_desktop && flutter run -d {{target}}
test-core:
cd packages/visp_core && cargo test
run-flutter target="windows":
cd apps/visp_desktop && flutter run -d {{target}}
check-dart:
melos exec -- flutter analyze
clean:
cd apps/visp_desktop && flutter clean
cd packages/visp_core && cargo clean
rm -rf target