Remove other unused rules in Makefile

These aren't referenced anywhere. Some are repeated in other rules,
and if necessary it should be easy to type the commands.
This commit is contained in:
Ben Thorner
2021-02-22 17:21:01 +00:00
parent 423b4c7812
commit 86929df84e

View File

@@ -43,28 +43,10 @@ virtualenv:
upgrade-pip: virtualenv
${VIRTUALENV_ROOT}/bin/pip install --upgrade pip
.PHONY: requirements
requirements: upgrade-pip requirements.txt ## Install dependencies for running the app
${VIRTUALENV_ROOT}/bin/pip install -r requirements.txt
.PHONY: requirements-for-test
requirements-for-test: upgrade-pip requirements_for_test.txt ## Install all dependencies for running the app, development and testing
${VIRTUALENV_ROOT}/bin/pip install -r requirements_for_test.txt
.PHONY: frontend
frontend:
npm set progress=false
npm install
npm rebuild node-sass
.PHONY: generate-version-file
generate-version-file: ## Generates the app version file
@echo -e "__git_commit__ = \"${GIT_COMMIT}\"\n__time__ = \"${DATE}\"" > ${APP_VERSION_FILE}
.PHONY: build
build: frontend requirements-for-test generate-version-file ## Build project
npm run build
.PHONY: test
test: ## Run tests
./scripts/run_tests.sh