add cargo deny config

This commit is contained in:
Sebastian Hugentobler 2023-03-09 10:57:25 +01:00
parent 9c5cd5f4da
commit d5af19b02a
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
7 changed files with 285 additions and 10 deletions

View file

@ -8,7 +8,7 @@ WASM_JS_ASSET = $(ASSET_DIR)/$(WASM_JS)
WASM_BG_ASSET = $(ASSET_DIR)/$(WASM_BG)
DIST_DIR = dist
.PHONY: default all wasm serve clean
.PHONY: default all check wasm serve clean
default: all
all: wasm
@ -21,6 +21,9 @@ $(WASM_JS_ASSET) $(WASM_BG_ASSET): dist_text_js/src/lib.rs
cp $(WASM_JS_PKG) $(WASM_JS_ASSET)
cp $(WASM_BG_PKG) $(WASM_BG_ASSET)
check:
cargo deny check
serve: wasm
cargo run --package woweb