makr 1.4.3 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/makr/Makefile.erb +13 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b25de88757e083901c7e8a13cd81bd9702bedf7
|
|
4
|
+
data.tar.gz: 8361c64798b059a904a173670137e57e636c1929
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cc3e008024be4a01ea7e3f8ba62aad07a50d76fa006a7a90f3ec375451eb78c733ae330a181d8dc2bec915cb4106d22fe19c21c665385791a7f8d355beab612
|
|
7
|
+
data.tar.gz: 54e4013f6ee2642a26ed2b9c6de7645d6562a0ffc5220dfda4b2286cd56c4b995dd5de143f105ca0a0a3def8ece6eff32cf2e3192fb5b98f48628787bf5aeac5
|
data/data/makr/Makefile.erb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by Makr 1.4.
|
|
1
|
+
# Generated by Makr 1.4.5
|
|
2
2
|
# https://github.com/willowtreeapps/Makr
|
|
3
3
|
|
|
4
4
|
# Path for built products
|
|
@@ -53,6 +53,7 @@ $(ARCHIVES_PATH)/<%=archive["name"]%>.xcarchive:
|
|
|
53
53
|
-archivePath $@
|
|
54
54
|
rm -rf $(TEMP_DIR)
|
|
55
55
|
|
|
56
|
+
|
|
56
57
|
<% Array(archive["ipas"]).each do |ipa| -%>
|
|
57
58
|
# Create <%=ipa["name"]%>/<%= archive["bundle_name"] %>.ipa
|
|
58
59
|
$(IPAS_PATH)/<%=ipa["name"]%>: $(IPAS_PATH) $(ARCHIVES_PATH)/<%=archive["name"]%>.xcarchive
|
|
@@ -65,9 +66,12 @@ $(IPAS_PATH)/<%=ipa["name"]%>: $(IPAS_PATH) $(ARCHIVES_PATH)/<%=archive["name"]%
|
|
|
65
66
|
<% if distribution["type"] == "hockeyapp" -%>
|
|
66
67
|
# Upload <%=ipa["name"]%>/<%=archive["bundle_name"]%>.ipa to <%=distribution["type"]%>
|
|
67
68
|
distribute-<%= ipa["name"] %>-<%= distribution["name"] %>:
|
|
69
|
+
mkdir -p $(TEMP_DIR)
|
|
70
|
+
zip -r $(TEMP_DIR)/dsym.zip $(ARCHIVES_PATH)/<%=archive["name"]%>.xcarchive/dSYMs
|
|
68
71
|
curl https://rink.hockeyapp.net/api/2/apps/upload \
|
|
69
72
|
-H 'X-HockeyAppToken: <%= distribution["api-token"] %>' \
|
|
70
73
|
-F ipa=@'$(IPAS_PATH)/<%= ipa["name"] %>/<%= archive["bundle_name"] %>.ipa' \
|
|
74
|
+
-F dsym=@'$(TEMP_DIR)/dsym.zip' \
|
|
71
75
|
-F notes='<%= distribution["notes"] %>' \
|
|
72
76
|
-F notes_type='<%= distribution["notes_type"] %>' \
|
|
73
77
|
-F notify='<%= distribution["notify"] %>' \
|
|
@@ -80,7 +84,9 @@ distribute-<%= ipa["name"] %>-<%= distribution["name"] %>:
|
|
|
80
84
|
-F private='<%= distribution["private"] %>' \
|
|
81
85
|
-F commit_sha='<%= distribution["commit_sha"] %>' \
|
|
82
86
|
-F build_server_url='<%= distribution["build_server_url"] %>' \
|
|
83
|
-
-F repository_url='<%= distribution["repository_url"] %>'
|
|
87
|
+
-F repository_url='<%= distribution["repository_url"] %>'
|
|
88
|
+
rm -rf $(TEMP_DIR)
|
|
89
|
+
|
|
84
90
|
|
|
85
91
|
<% end -%>
|
|
86
92
|
<% end -%>
|
|
@@ -110,3 +116,8 @@ test-<%= test["name"] %>:
|
|
|
110
116
|
clean:
|
|
111
117
|
rm -rf $(ARTIFACTS_PATH)
|
|
112
118
|
rm -rf $(TEMP_DIR)
|
|
119
|
+
|
|
120
|
+
# Lists all tasks
|
|
121
|
+
.PHONY: list
|
|
122
|
+
list:
|
|
123
|
+
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: makr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Carter
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Makr reads the config.yaml file in the current directory to generate
|
|
15
15
|
a Makefile capable of building, testing, and distributing Xcode projects and workspaces.
|
|
@@ -32,17 +32,17 @@ require_paths:
|
|
|
32
32
|
- lib
|
|
33
33
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
34
|
requirements:
|
|
35
|
-
- -
|
|
35
|
+
- - '>='
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
37
|
version: '0'
|
|
38
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
39
|
requirements:
|
|
40
|
-
- -
|
|
40
|
+
- - '>='
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: '0'
|
|
43
43
|
requirements: []
|
|
44
44
|
rubyforge_project:
|
|
45
|
-
rubygems_version: 2.0.14
|
|
45
|
+
rubygems_version: 2.0.14.1
|
|
46
46
|
signing_key:
|
|
47
47
|
specification_version: 4
|
|
48
48
|
summary: A tool to generate a Makefile that builds, tests, and distributes Xcode projects
|