Skip to content

Commit c1117d4

Browse files
committed
Add a freeze-requirements make command
1 parent 534b85d commit c1117d4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ SHELL := /bin/bash
55
help:
66
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
77

8-
.PHONY: bootstrap
9-
bootstrap: ## Install build dependencies
8+
.PHONY: freeze-requirements
9+
freeze-requirements: ## Freeze requirements files
1010
pip install -r requirements.txt
1111
python -c "from notifications_utils.version_tools import copy_config; copy_config()"
12-
pip install --upgrade pip-tools
1312
pip-compile requirements_for_test.in
13+
14+
.PHONY: bootstrap
15+
bootstrap: ## Install build dependencies
16+
pip install --upgrade pip-tools
1417
pip install -r requirements_for_test.txt
1518

1619
.PHONY: build

0 commit comments

Comments
 (0)