Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 343b8ab

Browse files
committed
Add sync task
1 parent 0d41b64 commit 343b8ab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ clean: ## Clean project files
1414
@rm -f var/db.sqlite
1515
@docker-compose down
1616

17-
.PHONY:
17+
.PHONY: serve
1818
serve: ## Run project through docker-compose
1919
@echo "--> Start containers"
2020
@docker-compose up -d --force-recreate
@@ -31,3 +31,8 @@ ifeq (,$(wildcard var/db.sqlite))
3131
@echo "--> Synchronize data"
3232
@docker-compose exec fpm php bin/console synchronize
3333
endif
34+
35+
.PHONY: sync
36+
sync: ## Synchronize PHP versions
37+
@echo "--> Synchronize data"
38+
@docker-compose exec fpm bin/console synchronize

0 commit comments

Comments
 (0)