@@ -1,10 +1,15 @@.PHONY: run runserver webpack check clean push pull# Django + Webpack Makefile# v. 2022.07.13.PHONY: run runserver webpack check clean push pull update.DEFAULT: runSERVER_URL = $(shell git config --get remote.origin.url | cut -d ':' -f 1)INSTALLED_PYTHON_VERSIONS = $(shell ls ~/.pyenv/versions/)REQUIRED_PYTHON_VERSION = $(shell cat Pipfile | grep "^python_version " | cut -d '"' -f 2)PROJECT_NAME = $(shell basename $(pwd))run: check install
@@ -74,6 +79,13 @@ pull: @echo "> all files copied"update: install @echo "update -------------------------------------------------------------" pipenv update yarn upgrade @echo "> all deps updated"clean: @echo "clean --------------------------------------------------------------" rm -rf node_modules