-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
48 lines (42 loc) · 1.95 KB
/
Copy pathjustfile
File metadata and controls
48 lines (42 loc) · 1.95 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Produces a changelog using git-cliff and commits it to the active branch.
cliff version:
git cliff --tag {{version}} -o CHANGELOG.md
git add CHANGELOG.md
git commit -m "CHANGELOG.md updated for version {{version}}"
# Installs the latests versions of package-specific tooling from cargo.
tools:
cargo install just git-cliff cargo-audit cargo-auditable omnibor-cli
cargo install cargo-dist cargo-release --locked
# Plan and build source code and artifacts.
dist:
dist build
dist plan
# Runs cargo release, not for use on workspaces.
prepare version: tools dist
cargo release {{version}} --workspace
# Load a particular dataset.
load dataset:
RUST_LOG=info cargo run --release -- -c load -d {{dataset}}
# Dataset loading test suite.
load_all:
RUST_LOG=info cargo run --release -- -c load -d FixedAssets
RUST_LOG=info cargo run --release -- -c load -d GdpByIndustry
# RUST_LOG=info cargo run --release -- -c load -d Mne
RUST_LOG=info cargo run --release -- -c load -d Nipa
RUST_LOG=info cargo run --release -- -c load -d NIUnderlyingDetail
RUST_LOG=info cargo run --release -- -c load -d Iip
RUST_LOG=info cargo run --release -- -c load -d InputOutput
RUST_LOG=info cargo run --release -- -c load -d Ita
RUST_LOG=info cargo run --release -- -c load -d UnderlyingGdpByIndustry
# Dataset downloading test suite.
download_all:
RUST_LOG=info cargo run --release -- -c download -d FixedAssets -x
RUST_LOG=info cargo run --release -- -c download -d GdpByIndustry -x
# RUST_LOG=info cargo run --release -- -c download -d Mne -x
RUST_LOG=info cargo run --release -- -c download -d Nipa -x
RUST_LOG=info cargo run --release -- -c download -d NIUnderlyingDetail -x
RUST_LOG=info cargo run --release -- -c download -d Iip -x
RUST_LOG=info cargo run --release -- -c download -d InputOutput -x
RUST_LOG=info cargo run --release -- -c download -d Ita -x
RUST_LOG=info cargo run --release -- -c download -d UnderlyingGdpByIndustry -x
bash format_json.sh