audioview/Makefile

26 lines
472 B
Makefile
Raw Normal View History

2020-09-02 15:46:01 +00:00
# Based on https://raw.githubusercontent.com/saschagrunert/webapp.rs/master/Makefile
.PHONY: \
build \
run
all: build
build:
2020-09-10 20:06:58 +00:00
wasm-pack build --dev --target web --out-name wasm --out-dir ./static
2020-09-02 15:46:01 +00:00
build-doc:
cargo doc --all --no-deps
run:
simple-http-server -i ./static/ -p 3000 --nocache --try-file ./static/index.html
lint: lint-rustfmt lint-clippy
lint-clippy:
cargo clippy --all -- -D warnings
lint-rustfmt:
cargo fmt
git diff --exit-code