-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathjustfile
More file actions
25 lines (19 loc) · 670 Bytes
/
Copy pathjustfile
File metadata and controls
25 lines (19 loc) · 670 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
verify:
cargo run -p clash-rs -- -t
run:
cargo run -p clash-rs -- -c config.yaml
fmt:
cargo +nightly fmt
docs:
rm -rf ./docs
cargo doc -p clash-doc --no-deps
echo '<meta http-equiv="refresh" content="0; url=clash_doc">' > target/doc/index.html
cp -r target/doc ./docs
test-no-docker:
CLASH_RS_CI=true cargo test --all --all-features
verge-win verge_path='C:\Apps\Clash Verge\verge-mihomo-alpha.exe':
cargo build -p clash-rs --release --features=standard
rm -f "{{verge_path}}"
cp target/release/clash-rs.exe "{{verge_path}}"
test-api token='test_token' url='http://127.0.0.1:9093/proxies':
curl -H "Authorization: Bearer {{token}}" {{url}}