fixed gitsync
This commit is contained in:
16
Makefile
16
Makefile
@@ -29,10 +29,10 @@ env:
|
|||||||
> .keycloak-env
|
> .keycloak-env
|
||||||
|
|
||||||
.PHONY = gitsync
|
.PHONY = gitsync
|
||||||
gitsync:
|
gitsync: remove_dependencies
|
||||||
git --git-dir=$(ROOT_DIR)SWA-frontend/.git pull || git --git-dir=$(ROOT_DIR) clone https://git.anxietyprime.de/SWA-Project/SWA-frontend.git
|
git --git-dir=$(ROOT_DIR) clone https://git.anxietyprime.de/SWA-Project/SWA-frontend.git
|
||||||
git --git-dir=$(ROOT_DIR)SWA-backend/.git pull || git --git-dir=$(ROOT_DIR) clone https://git.anxietyprime.de/SWA-Project/SWA-backend.git
|
git --git-dir=$(ROOT_DIR) clone https://git.anxietyprime.de/SWA-Project/SWA-backend.git
|
||||||
git --git-dir=$(ROOT_DIR)SWA-database/.git pull || git --git-dir=$(ROOT_DIR) clone https://git.anxietyprime.de/SWA-Project/SWA-database.git
|
git --git-dir=$(ROOT_DIR) clone https://git.anxietyprime.de/SWA-Project/SWA-database.git
|
||||||
@echo "done"
|
@echo "done"
|
||||||
|
|
||||||
.PHONY = build
|
.PHONY = build
|
||||||
@@ -59,14 +59,16 @@ keycloak:
|
|||||||
@docker tag $(KEYCLOAK_DB_BASE) $(DOCKER_REGISTRY)$(KEYCLOAK_DB)
|
@docker tag $(KEYCLOAK_DB_BASE) $(DOCKER_REGISTRY)$(KEYCLOAK_DB)
|
||||||
|
|
||||||
.PHONY = clean
|
.PHONY = clean
|
||||||
clean:
|
clean: remove_dependencies
|
||||||
@rm -fr $(ROOT_DIR)SWA-frontend $(ROOT_DIR)SWA-backend $(ROOT_DIR)SWA-database
|
|
||||||
@docker image rm $(KEYCLOAK_BASE) || true
|
@docker image rm $(KEYCLOAK_BASE) || true
|
||||||
@docker image rm $(KEYCLOAK_DB_BASE) || true
|
@docker image rm $(KEYCLOAK_DB_BASE) || true
|
||||||
|
|
||||||
|
.PHONY = remove_dependencies
|
||||||
|
remove_dependencies:
|
||||||
|
@rm -fr $(ROOT_DIR)SWA-frontend $(ROOT_DIR)SWA-backend $(ROOT_DIR)SWA-database
|
||||||
|
|
||||||
.PHONY = uninstall
|
.PHONY = uninstall
|
||||||
uninstall:
|
uninstall: uninstall
|
||||||
@docker network rm -f swa-public || true
|
@docker network rm -f swa-public || true
|
||||||
@docker network rm -f swa-keycloak || true
|
@docker network rm -f swa-keycloak || true
|
||||||
@docker network rm -f swa-keycloak-db || true
|
@docker network rm -f swa-keycloak-db || true
|
||||||
|
|||||||
Reference in New Issue
Block a user