mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-23 13:38:24 +00:00
Clean some minor stuff from Makefile
This commit is contained in:
parent
b00bae9e72
commit
27a7893c45
7
Makefile
7
Makefile
@ -21,8 +21,8 @@ upgrade-requirements: ## Upgrade requirements files
|
|||||||
build-pythonpackage: ## Build a python package ready to upload to pypi
|
build-pythonpackage: ## Build a python package ready to upload to pypi
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
|
||||||
push-pythonpackage: ## Push python packages to pypi
|
push-pythonpackage: ## Push python package to pypi
|
||||||
twine upload --skip-existing dist/tutor-*.tar.gz
|
twine upload --skip-existing dist/tutor-openedx-$(shell make version).tar.gz
|
||||||
|
|
||||||
test: test-lint test-unit test-types test-format test-pythonpackage ## Run all tests by decreasing order or priority
|
test: test-lint test-unit test-types test-format test-pythonpackage ## Run all tests by decreasing order or priority
|
||||||
|
|
||||||
@ -55,12 +55,9 @@ bootstrap-dev-plugins: bootstrap-dev ## Install dev requirement and all supporte
|
|||||||
|
|
||||||
bundle: ## Bundle the tutor package in a single "dist/tutor" executable
|
bundle: ## Bundle the tutor package in a single "dist/tutor" executable
|
||||||
pyinstaller tutor.spec
|
pyinstaller tutor.spec
|
||||||
dist/tutor:
|
|
||||||
$(MAKE) bundle
|
|
||||||
|
|
||||||
release: test ## Create a release tag and push it to origin
|
release: test ## Create a release tag and push it to origin
|
||||||
$(MAKE) release-tag release-push TAG=v$(shell make version)
|
$(MAKE) release-tag release-push TAG=v$(shell make version)
|
||||||
|
|
||||||
release-tag:
|
release-tag:
|
||||||
@echo "=== Creating tag $(TAG)"
|
@echo "=== Creating tag $(TAG)"
|
||||||
git tag -d $(TAG) || true
|
git tag -d $(TAG) || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user