-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
139 lines (127 loc) · 5.31 KB
/
Makefile
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.PHONY: clean setup setup_dev tests
help: Makefile
@sed -n "s/^##//p" $<
## ➡️ clean: Run `flutter clean` for all Packages
clean:
scripts/clean.sh payu_add_card
scripts/clean.sh payu_api
scripts/clean.sh payu_core
scripts/clean.sh payu_mastercard_installments
scripts/clean.sh payu_mobile_payments/payu_mobile_payments_platform_interface
scripts/clean.sh payu_mobile_payments/payu_mobile_payments_android
scripts/clean.sh payu_mobile_payments/payu_mobile_payments_ios
scripts/clean.sh payu_mobile_payments/payu_mobile_payments
scripts/clean.sh payu_payment_methods
scripts/clean.sh payu_state_management
scripts/clean.sh payu_terms_and_conditions
scripts/clean.sh payu_three_ds
scripts/clean.sh payu_translations
scripts/clean.sh payu_ui
scripts/clean.sh payu_web_payments
scripts/clean.sh payu
scripts/clean.sh example
## ➡️ setup: Run `flutter clean && flutter pub get` for all Packages
setup:
scripts/setup.sh payu_add_card
scripts/setup.sh payu_api
scripts/setup.sh payu_core
scripts/setup.sh payu_mastercard_installments
scripts/setup.sh payu_mobile_payments/payu_mobile_payments_platform_interface
scripts/setup.sh payu_mobile_payments/payu_mobile_payments_android
scripts/setup.sh payu_mobile_payments/payu_mobile_payments_ios
scripts/setup.sh payu_mobile_payments/payu_mobile_payments
scripts/setup.sh payu_payment_methods
scripts/setup.sh payu_state_management
scripts/setup.sh payu_terms_and_conditions
scripts/setup.sh payu_three_ds
scripts/setup.sh payu_translations
scripts/setup.sh payu_ui
scripts/setup.sh payu_web_payments
scripts/setup.sh payu
scripts/setup.sh example
## ➡️ setup_dev: Run `flutter clean && flutter pub get && flutter pub upgrade && flutter pub run dependency_validator` for all Packages and validates dependencies
setup_dev:
scripts/setup_dev.sh payu_add_card
scripts/setup_dev.sh payu_api
scripts/setup_dev.sh payu_core
scripts/setup_dev.sh payu_mastercard_installments
scripts/setup_dev.sh payu_mobile_payments/payu_mobile_payments_platform_interface
scripts/setup_dev.sh payu_mobile_payments/payu_mobile_payments_android
scripts/setup_dev.sh payu_mobile_payments/payu_mobile_payments_ios
scripts/setup_dev.sh payu_mobile_payments/payu_mobile_payments
scripts/setup_dev.sh payu_payment_methods
scripts/setup_dev.sh payu_state_management
scripts/setup_dev.sh payu_terms_and_conditions
scripts/setup_dev.sh payu_three_ds
scripts/setup_dev.sh payu_translations
scripts/setup_dev.sh payu_ui
scripts/setup_dev.sh payu_web_payments
scripts/setup.sh payu
scripts/setup.sh example
## ➡️ build: Run `flutter pub run build_runner build` for all Packages
build:
scripts/build.sh payu_add_card
scripts/build.sh payu_api
scripts/build.sh payu_core
scripts/build.sh payu_mastercard_installments
scripts/build.sh payu_mobile_payments/payu_mobile_payments_platform_interface
scripts/build.sh payu_mobile_payments/payu_mobile_payments_android
scripts/build.sh payu_mobile_payments/payu_mobile_payments_ios
scripts/build.sh payu_mobile_payments/payu_mobile_payments
scripts/build.sh payu_payment_methods
scripts/build.sh payu_state_management
scripts/build.sh payu_terms_and_conditions
scripts/build.sh payu_three_ds
scripts/build.sh payu_translations
scripts/build.sh payu_ui
scripts/build.sh payu_web_payments
scripts/build.sh payu
scripts/build.sh example
## ➡️ to_local: Switch PayU dependencies to local
to_local:
scripts/switch_dev.sh payu_add_card local
scripts/switch_dev.sh payu_api local
scripts/switch_dev.sh payu_core local
scripts/switch_dev.sh payu_mastercard_installments local
scripts/switch_dev.sh payu_mobile_payments/payu_mobile_payments local
scripts/switch_dev.sh payu_payment_methods local
scripts/switch_dev.sh payu_state_management local
scripts/switch_dev.sh payu_terms_and_conditions local
scripts/switch_dev.sh payu_three_ds local
scripts/switch_dev.sh payu_translations local
scripts/switch_dev.sh payu_ui local
scripts/switch_dev.sh payu_web_payments local
scripts/switch_dev.sh payu local
scripts/switch_dev.sh example local
## ➡️ to_git: Switch PayU dependencies to git
to_git:
scripts/switch_dev.sh payu_add_card git
scripts/switch_dev.sh payu_api git
scripts/switch_dev.sh payu_core git
scripts/switch_dev.sh payu_mastercard_installments git
scripts/switch_dev.sh payu_mobile_payments/payu_mobile_payments git
scripts/switch_dev.sh payu_payment_methods git
scripts/switch_dev.sh payu_state_management git
scripts/switch_dev.sh payu_terms_and_conditions git
scripts/switch_dev.sh payu_three_ds git
scripts/switch_dev.sh payu_translations git
scripts/switch_dev.sh payu_ui git
scripts/switch_dev.sh payu_web_payments git
scripts/switch_dev.sh payu git
scripts/switch_dev.sh example git
## ➡️ tests: Run tests for all Packages
tests:
scripts/test.sh payu_add_card
scripts/test.sh payu_api
scripts/test.sh payu_core
scripts/test.sh payu_mastercard_installments
scripts/test.sh payu_mobile_payments/payu_mobile_payments_platform_interface
# scripts/test.sh payu_mobile_payments/payu_mobile_payments_android
# scripts/test.sh payu_mobile_payments/payu_mobile_payments_ios
# scripts/test.sh payu_mobile_payments/payu_mobile_payments
scripts/test.sh payu_payment_methods
scripts/test.sh payu_terms_and_conditions
scripts/test.sh payu_three_ds
# sh scripts/test.sh payu_translations
# sh scripts/test.sh payu_ui
scripts/test.sh payu_web_payments