mirror of
https://github.com/fafhrd91/actix-web
synced 2024-12-18 01:43:58 +01:00
15 lines
234 B
Makefile
15 lines
234 B
Makefile
.PHONY: default build test doc book clean
|
|
|
|
CARGO_FLAGS := --features "$(FEATURES) alpn"
|
|
|
|
default: test
|
|
|
|
build:
|
|
cargo build $(CARGO_FLAGS)
|
|
|
|
test: build clippy
|
|
cargo test $(CARGO_FLAGS)
|
|
|
|
doc: build
|
|
cargo doc --no-deps $(CARGO_FLAGS)
|