-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile
53 lines (40 loc) · 956 Bytes
/
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
48
49
50
51
52
53
.PHONY: check build test integration
default: build
check:
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo deny check
# cargo install cargo-machete
cargo machete
# cargo install hawkeye
hawkeye check
# cargo install typos-cli
typos
build-frontend:
rm -rf cli/frontend
mkdir -p cli/frontend
cd frontend && \
if [ ! -d node_modules ]; then pnpm install; fi && \
pnpm build && cp -rf build ../cli/frontend/
run:
make build-frontend
cargo run
build:
make build-frontend
cargo build --release
test:
cargo test --all --all-features --lib -- --nocapture
integration:
make -C tests
integration-down:
make -C tests down
integration-core:
make -C tests test-core
integration-driver:
make -C tests test-driver
integration-bendsql:
make -C tests test-bendsql
integration-bindings-python:
make -C tests test-bindings-python
integration-bindings-nodejs:
make -C tests test-bindings-nodejs