forked from Pometry/Raphtory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (34 loc) · 1.18 KB
/
Makefile
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
RUST_READTHEDOCS_DOCS_TARGET=docs/source/_rustdoc
rust-fmt:
cargo +nightly fmt
rust-build:
cargo build -q
rust-build-docs:
cargo doc --no-deps -p raphtory -q
rust-build-readthedocs:
cargo doc --no-deps -p raphtory -q --target-dir $(RUST_READTHEDOCS_DOCS_TARGET)
rm -rf $(RUST_READTHEDOCS_DOCS_TARGET)/debug
mv $(RUST_READTHEDOCS_DOCS_TARGET)/doc/* $(RUST_READTHEDOCS_DOCS_TARGET)
rm -rf $(RUST_READTHEDOCS_DOCS_TARGET)/doc
build-all: rust-build
cd python && maturin develop
rust-test:
cargo test -q
test-all: rust-test
cd python && pytest
install-python:
cd python && maturin build && pip install ../target/wheels/*.whl
run-graphql:
cargo run --release -p raphtory-graphql
rust-test-all:
cargo test --all --no-default-features
cargo check -p raphtory --no-default-features --features "io"
cargo check -p raphtory --no-default-features --features "python"
cargo check -p raphtory --no-default-features --features "search"
cargo check -p raphtory --no-default-features --features "vectors"
activate-storage:
./scripts/activate_private_storage.py
deactivate-storage:
./scripts/deactivate_private_storage.py
pull-storage: activate-storage
git submodule update --init --recursive