-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (26 loc) · 773 Bytes
/
Makefile
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
#!/bin/bash
all:
SLINT_STYLE=fluent cargo build --release
build:
SLINT_STYLE=fluent cargo build --release
build-timings:
SLINT_STYLE=fluent cargo build --release --timings
cp -rf ./target/cargo-timings/cargo-timing.html ./profile
build-debug:
SLINT_STYLE=fluent cargo build
run:
SLINT_STYLE=fluent RUST_LOG=error,warn,info,debug,font_kit=off cargo run
run-local:
RUST_LOG=error,warn,info,debug,font_kit=off ./target/debug/uibox
run-local-release:
RUST_LOG=error,warn,info,debug,font_kit=off ./target/release/uibox
clippy:
cargo clippy
clean-incremental:
rm -rf ./target/debug/incremental/*
clean:
cargo clean
install:
cp -rf ./target/release/uibox ~/bin/
slint-view:
slint-viewer --style fluent --auto-reload -I uibox/ui ./uibox/ui/appwindow.slint