pyo3/Makefile

17 lines
370 B
Makefile
Raw Normal View History

2019-02-07 20:02:37 +00:00
.PHONY: test test_py3 publish
2015-04-19 05:50:50 +00:00
2018-05-30 13:03:31 +00:00
test:
2018-11-15 20:28:28 +00:00
cargo test
cargo clippy
tox
2019-02-01 15:31:18 +00:00
for example in examples/*; do tox -e py -c $$example/tox.ini; done
test_py3:
tox -e py3
for example in examples/*; do tox -e py3 -c $$example/tox.ini; done
2018-11-02 21:32:18 +00:00
2019-02-10 18:40:04 +00:00
publish: test
2018-11-02 21:32:18 +00:00
cargo publish --manifest-path pyo3-derive-backend/Cargo.toml
cargo publish --manifest-path pyo3cls/Cargo.toml
cargo publish