makr 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/makr/Makefile.erb +9 -8
- data/data/makr/config.yaml +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66ab4dfa70743c4856055556cd2924a5ab955fca
|
4
|
+
data.tar.gz: 1f6dd10ccf4e9fdf4fcc8161f7d1edfac66ff2b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed2cb69e00ea05e0013cbb17d590ae857543e35c83bc427c47a7da8c06731abded8e645a519083aa72880559be199996fb3a6f90afde4a0f92abaee7ad6dfe3c
|
7
|
+
data.tar.gz: 3ff71cded3c80fb21ce603063a0e01ff4af49e33629ad309b1f90a22425162ec9b089fd5fb68c8733cebb048c4c190132cc89fb3308b50c2e2e6ee61736e9796
|
data/data/makr/Makefile.erb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# Generated by Makr 1.0.4
|
2
|
+
# https://github.com/willowtreeapps/Makr
|
3
|
+
|
1
4
|
# Path for built products
|
2
5
|
ARTIFACTS_PATH = artifacts
|
3
6
|
|
@@ -23,8 +26,8 @@ BUILD_ENV_OPTIONS = SHARED_PRECOMPS_DIR="$(TEMP_DIR)/precomps" \
|
|
23
26
|
ARCHIVES = <% config["archives"].each do |archive| %>$(ARCHIVES_PATH)/<%= archive["name"] %>.xcarchive <% end %>
|
24
27
|
|
25
28
|
# IPAs
|
26
|
-
IPAS = <% config["archives"].each do |archive| -%>
|
27
|
-
<% archive["ipas"].each do |ipa| -%>
|
29
|
+
IPAS = <% Array(config["archives"]).each do |archive| -%>
|
30
|
+
<% Array(archive["ipas"]).each do |ipa| -%>
|
28
31
|
$(IPAS_PATH)/<%= ipa["name"] %>.ipa <% end -%><% end -%>
|
29
32
|
|
30
33
|
# Get current version
|
@@ -85,7 +88,7 @@ distribute-<%= distribution["name"] %>:
|
|
85
88
|
-F api_token='<%= distribution["api-token"] %>' \
|
86
89
|
-F notes='<%= distribution["notes"] %>' \
|
87
90
|
-F team_token='<%= distribution["team-token"] %>' \
|
88
|
-
-F notify
|
91
|
+
-F notify=<%= distribution["notify"].to_s.capitalize %> \
|
89
92
|
-F distribution_lists='<%= distribution["distribution-list"] %>'
|
90
93
|
|
91
94
|
<% end -%>
|
@@ -97,15 +100,13 @@ $(IPAS_PATH):
|
|
97
100
|
mkdir -p $(IPAS_PATH)
|
98
101
|
|
99
102
|
# Run all distribution tasks
|
100
|
-
distribute-all: <% config["archives"].each do |archive| -%>
|
101
|
-
<% archive["ipas"].each do |ipa| -%>
|
102
|
-
<%
|
103
|
-
<% ipa["distributions"].each do |distribution| -%>
|
103
|
+
distribute-all: <% Array(config["archives"]).each do |archive| -%>
|
104
|
+
<% Array(archive["ipas"]).each do |ipa| -%>
|
105
|
+
<% Array(ipa["distributions"]).each do |distribution| -%>
|
104
106
|
distribute-<%= distribution["name"] -%>
|
105
107
|
<% end -%>
|
106
108
|
<% end -%>
|
107
109
|
<% end -%>
|
108
|
-
<% end -%>
|
109
110
|
|
110
111
|
|
111
112
|
<% Array(config["tests"]).each do |test| -%>
|
data/data/makr/config.yaml
CHANGED