From a9bdeddef9d6ab1b89f0570eb729167ee4c0e21b Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Thu, 29 Apr 2021 17:06:28 +0200 Subject: [PATCH] working on: 0.0.32 Release --- Makefile | 116 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 79 insertions(+), 37 deletions(-) diff --git a/Makefile b/Makefile index b4e62789..a7dbd0b4 100644 --- a/Makefile +++ b/Makefile @@ -1,67 +1,109 @@ # https://www.gnu.org/software/make/manual/make.html all: main - @echo "hello" + @echo "all" -clean: - @echo "clean" +setup_development_pip: + @echo "setup_development_pip" + python -m pip install --upgrade pip + pip check + +setup_development_setuptools: + @echo "setup_development_setuptools" + python -m pip install setuptools wheel twine + pip check + +setup_development: + @echo "setup_development" + python setup.py develop + pip check + +setup_frontend: build_frontend + @echo "setup_frontend" + +build_setup_py: + @echo "build_setup_py" + pip install -e . + pip check + +build_frontend: + @echo "build_frontend" + @echo "npm -v" + npm -v + @echo "npm install" + npm install -distclean: - @echo "distclean" +build_wheel_dist: + @echo "build_wheel_dist" + python setup.py sdist bdist_wheel + pip check -pip_compile: +build_wheel: + @echo "build_wheel" + python -m build --wheel + pip check + +setup_pip_compile: + @echo "pip_compile" pip-compile -r requirements/build.in pip-compile -r requirements/docs.in pip-compile -r requirements/tests.in pip-compile -r requirements/dev.in - . scripts/script_get_python_requirements_from_txt.sh pip check -pip_install: +get_python_requirements_from_txt: + @echo "get_python_requirements_from_txt" + . scripts/script_get_python_requirements_from_txt.sh + +setup_pip_install: + @echo "pip_install" pip install -r requirements/build.in pip install -r requirements/docs.in pip install -r requirements/tests.in pip install -r requirements/dev.in pip check -build_setup: - python setup.py develop - pip install -e . - pip check +love: + @echo "not war!" -pip_install_via_setup_py: - pip install -e . +git_commit: + git add * + git commit -m "git_commit_and_push via make" -build_wheel: - python -m pip install --upgrade pip - pip install setuptools wheel twine - # python setup.py sdist bdist_wheel - python -m build --wheel - pip check +git_push: + git push -npm_install: - npm install +git: git_commit git_push -prepare_edit_setup_py: pip_compile +clean_eggs: + @echo "clean_eggs" + rm -rf .eggs + rm -rf flask_covid19.egg-info -prepare_first_install: - python -m pip install setuptools wheel - python -m pip install --upgrade pip +clean_node_modules: + @echo "clean_node_modules" + rm -rf node_modules + rm -rf src/covid19/node_modules -first_install: prepare_first_install pip_install pip_compile build_setup npm_install - # build_wheel +clean_static_vendor: + @echo "clean_node_modules" + rm -rf src/covid19/static/vendor -main: pip_compile pip_install pip_install_via_setup_py build_wheel npm_install - # setup_venv +clean_checkmate: + @echo "clean_checkmate" + rm -rf .checkmate -git_commit_and_push: - git add * - git commit -m "git_commit_and_push via make" - git push +clean: clean_eggs clean_node_modules clean_static_vendor clean_checkmate + @echo "clean" -git_push: git_commit_and_push +setup: setup_development_pip setup_development_setuptools setup_development setup_frontend + @echo "setup" -love: - @echo "not war!" +build: build_setup_py build_wheel_dist build_wheel build_frontend + @echo "build" +update_dependencies: setup_pip_compile get_python_requirements_from_txt setup_pip_install + @echo "dependencies" +main: clean setup build update_dependencies + @echo "main" \ No newline at end of file -- GitLab