RCG Pipeline Release with Docs
This commit is contained in:
parent
df0fb32592
commit
3878990c4e
26 changed files with 2127 additions and 54 deletions
31
rcg_pipeline/Makefile
Normal file
31
rcg_pipeline/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
.FORCE:
|
||||
|
||||
BLUE=\033[0;34m
|
||||
BLACK=\033[0;30m
|
||||
|
||||
help:
|
||||
@echo "$(BLUE) make test - run all unit tests"
|
||||
@echo " make coverage - run unit tests and coverage report"
|
||||
@echo " make dist - build dist files"
|
||||
@echo " make upload - upload to PyPI"
|
||||
@echo " make clean - remove dist and docs build files"
|
||||
@echo " make help - this message$(BLACK)"
|
||||
|
||||
test:
|
||||
pytest
|
||||
|
||||
coverage:
|
||||
coverage run --omit=\*/test_\* -m unittest
|
||||
coverage report
|
||||
|
||||
dist: .FORCE
|
||||
#$(MAKE) test
|
||||
python -m build
|
||||
ls -lh dist
|
||||
|
||||
upload: .FORCE
|
||||
twine upload dist/*
|
||||
|
||||
clean: .FORCE
|
||||
-rm -r *.egg-info
|
||||
-rm -r dist build
|
Loading…
Add table
Add a link
Reference in a new issue