#
# make clean : to clean the dist and docs directories
# make pdocs : create the docs using pdoc
# make package : to create the package
# make testUpload : to create a test upload (*)
#
# beware: before to use this update the version number in pyproject.toml
#

default: 
	@echo "type a command"
	@grep '^[^#[:space:]].*:' Makefile

clean:
	cd dist ; pwd ; rm -vf * ; cd ../docs ; pwd ; rm -rfv *

pdocs:
	cd src ; pwd ; pdoc py_artecs/__init__.py -o ../Pdocs/

package: 
	python3 -m build

testUpload :
	python3 -m twine upload --repository testpypi dist/*
