summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 13:46:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 13:47:02 +0000
commit0bf67268edaffea2640c2f05b301a9f857d9e174 (patch)
treec475efbe59347375916de4ff26d690b47c65c9da /build.sh
parentReleasing debian version 2.2.0-4. (diff)
downloadcolorclass-0bf67268edaffea2640c2f05b301a9f857d9e174.tar.xz
colorclass-0bf67268edaffea2640c2f05b301a9f857d9e174.zip
Merging upstream version 2.2.2 (Closes: #1014036).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100644
index 0000000..12bb762
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,11 @@
+echo assuming we still want to support python 2!
+PROJECT="colorclass"
+export PYTHONPATH=$PYTHONPATH:.
+pylint "$PROJECT"
+flake8 "$PROJECT"
+python -m pytest "$PROJECT"
+python -m pytest --doctest-glob="$PROJECT/**/*.py"
+pytest tests -v --cov-report html:coverage --cov="$PROJECT"
+echo not bumping version here, just checking if we can create the wheel
+poetry build
+check-wheel-contents dist/*.whl \ No newline at end of file