Skip to content

Commit 19f7810

Browse files
committed
chore(makefile): s/docker-compose/docker compose/g
1 parent 392edca commit 19f7810

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Makefile

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,39 @@ help:
66

77
.PHONY: build
88
build: ## Build the development server
9-
@docker-compose build --pull
9+
@docker compose build --pull
1010

1111
.PHONY: start
1212
start: ## Start the development server
13-
@docker-compose up -d --build
13+
@docker compose up -d --build
1414

1515
.PHONY: test
1616
test: ## Test the backend
17-
@docker-compose run emeis pytest --no-cov-on-fail --cov --create-db -vv
17+
@docker compose run emeis pytest --no-cov-on-fail --cov --create-db -vv
1818

1919
.PHONY: lint
2020
lint: ## Lint the backend
21-
@docker-compose run emeis sh -c "black --check . && flake8"
21+
@docker compose run emeis sh -c "black --check . && flake8"
2222

2323
.PHONY: bash
2424
bash: ## Shell into the backend
25-
@docker-compose run emeis bash
25+
@docker compose run emeis bash
2626

2727
.PHONY: shell_plus
2828
shell_plus: ## Run shell_plus
29-
@docker-compose run emeis python ./manage.py shell_plus
29+
@docker compose run emeis python ./manage.py shell_plus
3030

3131
.PHONY: makemigrations
3232
makemigrations: ## Make django migrations
33-
@docker-compose run emeis python ./manage.py makemigrations
33+
@docker compose run emeis python ./manage.py makemigrations
3434

3535
.PHONY: migrate
3636
migrate: ## Migrate django
37-
@docker-compose run emeis python ./manage.py migrate
37+
@docker compose run emeis python ./manage.py migrate
3838

3939
.PHONY: dbshell
4040
dbshell: ## Start a psql shell
41-
@docker-compose exec db psql -Uemeis
41+
@docker compose exec db psql -Uemeis
4242

4343

4444
.PHONY: help start test shell

0 commit comments

Comments
 (0)