forked from nachaphon-phontree/inspect
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
30 lines (20 loc) · 831 Bytes
/
justfile
File metadata and controls
30 lines (20 loc) · 831 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
set shell := ["zsh", "-eu", "-o", "pipefail", "-c"]
manifest := "tunnel-core/Cargo.toml"
default:
@just --list
check:
cargo check --manifest-path {{manifest}}
test:
cargo test --manifest-path {{manifest}}
build:
cargo build --manifest-path {{manifest}}
build-macos:
cargo build --manifest-path {{manifest}} --target aarch64-apple-darwin
build-macos-release:
cargo build --manifest-path {{manifest}} --target aarch64-apple-darwin --release
replay fixture="tunnel-core/fixtures/replay/sample_sni.json":
cargo run --manifest-path {{manifest}} --bin tunnel-core-replay -- {{fixture}} --pretty
integration:
cargo test --manifest-path {{manifest}} -- --nocapture
tun2proxy-harness:
cargo test --manifest-path {{manifest}} tun2proxy_run_forwards_tcp_and_emits_tls_observations -- --nocapture