-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
53 lines (42 loc) · 1.29 KB
/
Justfile
File metadata and controls
53 lines (42 loc) · 1.29 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
49
50
51
52
53
test:
cargo nextest run
test-watch:
bacon nextest
test-run-cli:
cargo run --bin gt -- build ${TEST_RUN_CLI_PROJECT}
build:
cargo build
build-watch:
bacon
build-json-types:
cargo run --bin gt -- build pkgs/npm-genotype-json-types
build-json-types-watch:
while sleep 0.1; do ls json/schema/src/*.type | entr -d just build-json-types; done
version version:
cargo release version {{version}} \
--exclude litty \
--exclude litty_macro \
--exclude litty_macro_tests \
--exclude toml_ext \
--exclude genotype_runtime \
--exclude genotype_json_types \
--execute
cd pkgs/npm-genotype-lsp && just version {{version}}
# [TODO] Include into the release process?
# cd pkgs/npm-vscode-genotype && just version {{version}}
publish:
cargo release publish \
--exclude litty \
--exclude litty_macro \
--exclude toml_ext \
--exclude genotype_runtime \
--exclude genotype_json_types \
--execute
version-litty version:
cargo release version {{version}} --package litty_macro --execute
cargo release version {{version}} --package litty --execute
publish-litty:
cargo release publish --package litty_macro --execute
cargo release publish --package litty --execute
publish-json-types:
cargo release publish --package genotype_json_types --execute