mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
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:
18
Makefile
18
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user