blob: 3f000fe03b45134737d38a1817f36936b0a9d5e1 (
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 --deny warnings bin target\release\letmein.exe
@if ERRORLEVEL 1 goto :error
@echo SUCCESS
@pause
@exit /B 0
@:error
@pause
@exit /B 1
|