Skip to content

Commit

Permalink
Merge pull request #24 from chris-ha458/fix_make
Browse files Browse the repository at this point in the history
Fix make
  • Loading branch information
soldni authored Aug 22, 2023
2 parents b158299 + ac6cf0f commit 02ebf87
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ setup:
$(shell "${PROTOBUF_SETUP}")
$(shell "${OPENSSL_SETUP}")
which cargo || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
which maturin || pip install maturin
which maturin || pip install maturin[patchelf]

publish:
maturin publish
Expand All @@ -32,7 +32,7 @@ test-python:
pytest -vs tests/python
rm -rf tests/work/*

test-rust: test-rust-clean test-rust-setup
test-rust:
cargo test -- --nocapture
rm -rf tests/work/*

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ make test

You can choose to run just the Python or Rust tests by calling `make test-python` or `make test-rust` respectively.

## Contributing

Before committing, use the following command
```shell
make style
```

## Citation

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ dev = [
]
[build-system]
requires = [
"maturin>=1.1,<2.0",
"maturin[patchelf]>=1.1,<2.0",
"setuptools >= 61.0.0",
"wheel"
]
Expand Down

0 comments on commit 02ebf87

Please sign in to comment.