-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.windows
More file actions
83 lines (64 loc) · 2.56 KB
/
Makefile.windows
File metadata and controls
83 lines (64 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Windows proxy Makefile
# Uses native Windows implementation for Minikube setup, and delegates the rest
# to the original Makefile through Git Bash for parity.
POWERSHELL := pwsh -NoProfile -ExecutionPolicy Bypass
RUN_MAKE := $(POWERSHELL) -File infrastructure/scripts/run-make-in-git-bash.ps1
.PHONY: help \
setup windows-dev-env-setup windows-podman-connect \
dev-minikube-deploy dev-terraform-deploy dev-gateway-deploy dev-harbor-deploy \
dev-images-build dev-argocd-push-and-deploy dev-gateway-start \
dev-mobile-launch dev-mobile-launch-desktop \
dev-mobile-launch-emulator dev-mobile-launch-device \
bootstrap-dev
help:
@echo "Windows targets: native cluster setup + proxied Makefile commands"
@echo " setup"
@echo " windows-dev-env-setup"
@echo " windows-podman-connect"
@echo " dev-minikube-deploy"
@echo " dev-terraform-deploy"
@echo " dev-gateway-deploy"
@echo " dev-harbor-deploy"
@echo " dev-images-build"
@echo " dev-argocd-push-and-deploy"
@echo " dev-gateway-start"
@echo " dev-mobile-launch"
@echo " dev-mobile-launch-desktop"
@echo " dev-mobile-launch-emulator"
@echo " dev-mobile-launch-device"
@echo " bootstrap-dev"
@echo ""
@echo "Any other target is proxied to Makefile through Git Bash."
setup:
@$(POWERSHELL) -File infrastructure/scripts/setup-windows-dev-env.ps1
@$(RUN_MAKE) -Target setup
windows-dev-env-setup:
@$(POWERSHELL) -File infrastructure/scripts/setup-windows-dev-env.ps1
windows-podman-connect:
@$(POWERSHELL) -File infrastructure/scripts/setup-podman-wsl-connection.ps1
dev-minikube-deploy:
@$(POWERSHELL) -File infrastructure/scripts/dev-setup-windows.ps1
dev-terraform-deploy:
@$(RUN_MAKE) -Target dev-terraform-deploy
dev-gateway-deploy:
@$(RUN_MAKE) -Target dev-gateway-deploy
dev-harbor-deploy:
@$(RUN_MAKE) -Target dev-harbor-deploy
dev-images-build:
@$(RUN_MAKE) -Target dev-images-build
dev-argocd-push-and-deploy:
@$(RUN_MAKE) -Target dev-argocd-push-and-deploy
dev-gateway-start:
@$(RUN_MAKE) -Target dev-gateway-start
dev-mobile-launch:
@$(POWERSHELL) -File apps/mobile/launch_flutter_debug_windows.ps1 -Target desktop
dev-mobile-launch-desktop:
@$(POWERSHELL) -File apps/mobile/launch_flutter_debug_windows.ps1 -Target desktop
dev-mobile-launch-emulator:
@$(POWERSHELL) -File apps/mobile/launch_flutter_debug_windows.ps1 -Target emulator
dev-mobile-launch-device:
@$(POWERSHELL) -File apps/mobile/launch_flutter_debug_windows.ps1 -Target device
bootstrap-dev:
@$(POWERSHELL) -File infrastructure/scripts/bootstrap-dev-windows.ps1
%:
@$(RUN_MAKE) -Target $@