mirror of
https://github.com/kawasaki/pyscrlink.git
synced 2025-09-05 01:00:23 +02:00
23 lines
303 B
Bash
Executable File
23 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
|
|
usage() {
|
|
echo "Usage: ${0} COMMAND"
|
|
echo -e "COMMAND:"
|
|
echo -e "\tbuild"
|
|
echo -e "\tupload-testpypi FILES"
|
|
exit 1
|
|
}
|
|
|
|
case ${1} in
|
|
build)
|
|
python setup.py sdist bdist_wheel
|
|
;;
|
|
upload-testpypi)
|
|
shift
|
|
python -m twine upload --repository testpypi "$@"
|
|
;;
|
|
*)
|
|
usage
|
|
;;
|
|
esac
|