1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 11:31:09 +00:00
actix-web/Makefile

23 lines
407 B
Makefile
Raw Normal View History

2017-09-30 16:10:03 +00:00
.PHONY: default build test doc clean
CARGO_FLAGS := --features "$(FEATURES)"
default: test
build:
cargo build $(CARGO_FLAGS)
test: build clippy
cargo test $(CARGO_FLAGS)
2017-10-26 13:12:23 +00:00
skeptic:
USE_SKEPTIC=1 cargo test $(CARGO_FLAGS)
2017-09-30 16:10:03 +00:00
# cd examples/word-count && python setup.py install && pytest -v tests
clippy:
if $$CLIPPY; then cargo clippy $(CARGO_FLAGS); fi
doc: build
cargo doc --no-deps $(CARGO_FLAGS)