Skip to content

Commit

Permalink
Support shell script also
Browse files Browse the repository at this point in the history
  • Loading branch information
george0st committed Jan 1, 2024
1 parent 1695584 commit 02590de
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cover.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

# Setting based on 'https://coverage.readthedocs.io/en/7.3.2/'

coverage erase
coverage run -m unittest discover
coverage combine
coverage report -m
coverage-badge -f -o coverage.svg
19 changes: 19 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# pip install --upgrade build
# pip install --upgrade twine

rmdir /S /Q dist
rmdir /S /Q build
rmdir /S /Q qgate_sln_mlrun.egg-info

# helper 'https://www.scivision.dev/python-minimal-package/'
# https://pypa-build.readthedocs.io/en/latest/
python -m build --wheel

# twine upload is supported
twine upload dist/* --verbose -u__token__

rmdir /S /Q dist
rmdir /S /Q build
rmdir /S /Q qgate_sln_mlrun.egg-info

0 comments on commit 02590de

Please sign in to comment.