-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathjustfile
38 lines (26 loc) · 1.01 KB
/
justfile
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
update: flutter_get install_rust_bridge_codegen rust_update gen_rust_bridge flutter_generate lint
init: flutter_get install_rust_bridge_codegen gen_rust_bridge flutter_generate
gen: flutter_get gen_rust_bridge flutter_generate
watch_rust:
flutter_rust_bridge_codegen generate --watch
watch_dart:
flutter pub run build_runner watch --delete-conflicting-outputs
gen_rust_bridge:
flutter_rust_bridge_codegen generate
flutter_get:
flutter pub get
flutter_generate:
dart run build_runner build -d
lint:
cd rust && cargo fmt
dart format .
clean:
flutter clean
cd rust && cargo clean
rust_update:
cd rust && cargo update
install_rust_bridge_codegen:
cargo install 'flutter_rust_bridge_codegen'
run_web:
flutter_rust_bridge_codegen build-web --verbose --cargo-build-args --no-default-features --cargo-build-args --features="network_handler" --release
flutter run -d chrome --web-header=Cross-Origin-Opener-Policy=same-origin --web-header=Cross-Origin-Embedder-Policy=require-corp