mirror of
https://github.com/actix/actix-web.git
synced 2024-12-28 02:50:39 +00:00
14 lines
234 B
Makefile
14 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)
|