mirror of
https://github.com/cmehay/pyentrypoint
synced 2024-10-30 15:21:11 +00:00
1770ac87f6
- Add new `commands` setting to handle multiple commands - Deprecate `command` and `subcommands` - Drop support for python 2 - Handle dependancy and build with Poetry
26 lines
454 B
Makefile
26 lines
454 B
Makefile
.PHONY: build test
|
|
|
|
build:
|
|
@docker-compose build
|
|
|
|
clean:
|
|
docker-compose down --remove-orphans
|
|
|
|
test: build test-python3.6 test-python3.7 test-python3.8 clean
|
|
|
|
test-python3.6:
|
|
@docker-compose run --rm testpython3.6
|
|
|
|
test-python3.7:
|
|
@docker-compose run --rm testpython3.7
|
|
|
|
test-python3.8:
|
|
@docker-compose run --rm testpython3.8
|
|
|
|
test-python3:
|
|
@docker-compose run --rm testpython3
|
|
|
|
|
|
publish:
|
|
@python setup.py register && python setup.py sdist upload
|