aboutsummaryrefslogtreecommitdiffstats
path: root/build.cmd
blob: 652ea44e4e53046de5f799e406d8c5f99c4ab8b6 (plain)
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
cargo clean
@if ERRORLEVEL 1 goto :error
cargo install cargo-audit
@if ERRORLEVEL 1 goto :error
cargo install cargo-auditable
@if ERRORLEVEL 1 goto :error
cargo build --package letmein
@if ERRORLEVEL 1 goto :error
cargo test --package letmein
@if ERRORLEVEL 1 goto :error
cargo test --package letmein-conf
@if ERRORLEVEL 1 goto :error
cargo test --package letmein-proto
@if ERRORLEVEL 1 goto :error
cargo auditable build --release --package letmein
@if ERRORLEVEL 1 goto :error
cargo audit bin --deny warnings target\release\letmein.exe
@if ERRORLEVEL 1 goto :error
@echo SUCCESS
@pause
@exit /B 0

@:error
@pause
@exit /B 1
bues.ch cgit interface