Skip to content

Commit 8eeb543

Browse files
committed
Move Rambafile generation from option to default, update Makefile
1 parent 0ddac01 commit 8eeb543

File tree

2 files changed

+41
-64
lines changed

2 files changed

+41
-64
lines changed

Surf MVP Application.xctemplate/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ init:
77
-bundle install --path .bundle
88
-bundle exec pod repo update
99
-bundle exec pod install
10+
-bundle exec generamba template install
1011

1112
# Install git hooks
1213
mkdir -p .git/hooks
@@ -20,10 +21,10 @@ build:
2021
bundle exec fastlane build clean:true
2122

2223
synx:
23-
bundle exec synx --exclusion "___PACKAGENAME___/Non-iOS Resources" ___PACKAGENAME___.xcodeproj
24+
bundle exec synx --exclusion "Project/Non-iOS Resources" Project.xcodeproj
2425

2526
lint:
26-
./Pods/SwiftLint/swiftlint lint --config .swiftlint.yml
27+
./Pods/SwiftLint/swiftlint lint --config .swiftlint.yml
2728

2829
format:
29-
./Pods/SwiftLint/swiftlint autocorrect --config .swiftlint.yml
30+
./Pods/SwiftLint/swiftlint autocorrect --config .swiftlint.yml

Surf MVP Application.xctemplate/TemplateInfo.plist

Lines changed: 37 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -21,41 +21,51 @@
2121
<string>../Gemfile</string>
2222
<string>../commit-msg</string>
2323
<string>../.swiftlint.yml</string>
24+
<string>../Rambafile</string>
2425
</array>
2526
<key>Definitions</key>
2627
<dict>
2728
<key>../.swiftlint.yml</key>
28-
<dict>
29-
<key>Path</key>
30-
<string>.swiftlint.yml</string>
31-
<key>Group</key>
32-
<string>Non-iOS Resources</string>
33-
</dict>
29+
<dict>
30+
<key>Path</key>
31+
<string>.swiftlint.yml</string>
32+
<key>Group</key>
33+
<string>Non-iOS Resources</string>
34+
</dict>
3435
<key>../Podfile:swiftbasics</key>
35-
<string>
36-
pod &apos;Crashlytics&apos;
37-
pod &apos;Fabric&apos;</string>
36+
<string>
37+
pod &apos;Crashlytics&apos;
38+
pod &apos;Fabric&apos;</string>
3839
<key>../Makefile</key>
39-
<dict>
40-
<key>Path</key>
41-
<string>Makefile</string>
42-
<key>Group</key>
43-
<string>Non-iOS Resources</string>
44-
</dict>
40+
<dict>
41+
<key>Path</key>
42+
<string>Makefile</string>
43+
<key>Group</key>
44+
<string>Non-iOS Resources</string>
45+
</dict>
4546
<key>../Gemfile</key>
46-
<dict>
47-
<key>Path</key>
48-
<string>Gemfile</string>
49-
<key>Group</key>
50-
<string>Non-iOS Resources</string>
51-
</dict>
47+
<dict>
48+
<key>Path</key>
49+
<string>Gemfile</string>
50+
<key>Group</key>
51+
<string>Non-iOS Resources</string>
52+
</dict>
5253
<key>../commit-msg</key>
53-
<dict>
54-
<key>Path</key>
55-
<string>commit-msg</string>
56-
<key>Group</key>
57-
<string>Non-iOS Resources</string>
58-
</dict>
54+
<dict>
55+
<key>Path</key>
56+
<string>commit-msg</string>
57+
<key>Group</key>
58+
<string>Non-iOS Resources</string>
59+
</dict>
60+
<key>../Rambafile</key>
61+
<dict>
62+
<key>TargetIndices</key>
63+
<array/>
64+
<key>Path</key>
65+
<string>Rambafile</string>
66+
<key>Group</key>
67+
<string>Non-iOS Resources</string>
68+
</dict>
5969
</dict>
6070
<key>Targets</key>
6171
<array>
@@ -182,40 +192,6 @@
182192
</dict>
183193
</dict>
184194
</dict>
185-
<dict>
186-
<key>Identifier</key>
187-
<string>isCreateRambafile</string>
188-
<key>Name</key>
189-
<string>Create Rambafile</string>
190-
<key>Type</key>
191-
<string>checkbox</string>
192-
<key>Default</key>
193-
<string>false</string>
194-
<key>NotPersisted</key>
195-
<true/>
196-
<key>Units</key>
197-
<dict>
198-
<key>true</key>
199-
<dict>
200-
<key>Nodes</key>
201-
<array>
202-
<string>../Rambafile</string>
203-
</array>
204-
<key>Definitions</key>
205-
<dict>
206-
<key>../Rambafile</key>
207-
<dict>
208-
<key>TargetIndices</key>
209-
<array/>
210-
<key>Path</key>
211-
<string>Rambafile</string>
212-
<key>Group</key>
213-
<string>Non-iOS Resources</string>
214-
</dict>
215-
</dict>
216-
</dict>
217-
</dict>
218-
</dict>
219195
</array>
220196
</dict>
221197
</plist>

0 commit comments

Comments
 (0)