-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (20 loc) · 789 Bytes
/
Makefile
File metadata and controls
20 lines (20 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: all build wasm
all: build wasm
build:
cargo build --exclude selenide-sdk --exclude state --exclude state-sdk --workspace
wasm:
cargo build --target wasm32-unknown-unknown --release --package selenide-sdk
cargo build --target wasm32-unknown-unknown --release --package state
cargo build --target wasm32-unknown-unknown --release --package state-sdk
wasm-c:
ifeq ($(OS),Windows_NT)
@echo Compiling example-c on Windows is currently not supported
else
$(MAKE) -C contracts/example-c
endif
fmt:
cargo fmt --all -- --check
test:
cargo test --all-features --exclude selenide-sdk --exclude selenide-sdk-macros --exclude state --exclude state-sdk --workspace
cov:
cargo llvm-cov --exclude selenide-sdk --exclude selenide-sdk-macros --exclude state --exclude state-sdk --workspace