The 'lib/cretonne' directory will be the new root of a stand-alone cretonne crate containg both Python and Rust sources. This is in preparation for publishing crates on crates.io.
13 lines
253 B
Bash
Executable File
13 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
cd $(dirname "$0")
|
|
|
|
# Run unit tests.
|
|
python -m unittest discover
|
|
|
|
# Check Python sources for Python 3 compatibility using pylint.
|
|
#
|
|
# Install pylint with 'pip install pylint'.
|
|
pylint --py3k --reports=no -- *.py cretonne isa
|
|
flake8 .
|