mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-24 22:37:35 +02:00
add optional skeptic
This commit is contained in:
22
Makefile
22
Makefile
@ -10,6 +10,9 @@ build:
|
||||
test: build clippy
|
||||
cargo test $(CARGO_FLAGS)
|
||||
|
||||
skeptic:
|
||||
USE_SKEPTIC=1 cargo test $(CARGO_FLAGS)
|
||||
|
||||
# cd examples/word-count && python setup.py install && pytest -v tests
|
||||
|
||||
clippy:
|
||||
@ -17,22 +20,3 @@ clippy:
|
||||
|
||||
doc: build
|
||||
cargo doc --no-deps $(CARGO_FLAGS)
|
||||
|
||||
clean:
|
||||
rm -r target
|
||||
|
||||
gh-pages:
|
||||
git clone --branch gh-pages git@github.com:fafhrd91/ctx.git gh-pages
|
||||
|
||||
.PHONY: gh-pages-doc
|
||||
gh-pages-doc: doc | gh-pages
|
||||
cd gh-pages && git pull
|
||||
rm -r gh-pages/doc
|
||||
cp -r target/doc gh-pages/
|
||||
rm gh-pages/doc/.lock
|
||||
cd gh-pages && git add .
|
||||
cd gh-pages && git commit -m "Update documentation"
|
||||
|
||||
publish: default gh-pages-doc
|
||||
cargo publish
|
||||
cd gh-pages && git push
|
||||
|
Reference in New Issue
Block a user