-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjustfile
More file actions
32 lines (22 loc) · 715 Bytes
/
Copy pathjustfile
File metadata and controls
32 lines (22 loc) · 715 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
31
32
cargo-doc-command := "cargo doc --no-deps"
check:
cargo check
build:
cargo clean --quiet -r
cargo build --release --quiet
doc:
cargo clean --doc --quiet
{{cargo-doc-command}}
doc-open:
rm -r target/doc
{{cargo-doc-command}} --open
example api_key access_token:
KITE_API_KEY={{api_key}} KITE_ACCESS_TOKEN={{access_token}} cargo run --example sample
test:
cargo test --lib
test-unit: test
test-integration api_key='' access_token='':
KITE_API_KEY={{api_key}} KITE_ACCESS_TOKEN={{access_token}} cargo test --test '*'
test-doc api_key='' access_token='':
KITE_API_KEY={{api_key}} KITE_ACCESS_TOKEN={{access_token}} cargo test --quiet --doc
test-all: test-unit test-integration test-doc