summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 13:46:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 13:46:28 +0000
commite553507c3f4eafcd26e9083fd19a87e8c9850b65 (patch)
treef0b9e7491f7f920ffa15c7f28dc50a25db87ee7c /build.sh
parentAdding upstream version 2.2.0. (diff)
downloadcolorclass-upstream.tar.xz
colorclass-upstream.zip
Adding upstream version 2.2.2.upstream/2.2.2upstream
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