-
Notifications
You must be signed in to change notification settings - Fork 1
/
TemplateInfo.plist
49 lines (48 loc) · 1.52 KB
/
TemplateInfo.plist
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kind</key>
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
<key>Concrete</key>
<true/>
<key>TargetOnly</key>
<true/>
<key>Identifier</key>
<string>com.goodrequest.SwiftlintAggregate</string>
<key>Targets</key>
<array>
<dict>
<key>TargetIdentifier</key>
<string>com.goodrequest.swiftlintTarget</string>
<key>Name</key>
<string>SwiftLint autocorrect</string>
<key>TargetType</key>
<string>Aggregate</string>
<key>BuildPhases</key>
<array>
<dict>
<key>Name</key>
<string>🧼 Autocorrect codestyle with SwiftLint</string>
<key>Class</key>
<string>ShellScript</string>
<key>ShellPath</key>
<string>/bin/sh</string>
<key>ShellScript</key>
<string>SWIFT_LINT="${PODS_ROOT}/SwiftLint/swiftlint"
SWIFT_LINT_CONFIG="${SRCROOT}/swiftlint/.swiftlint.yml"
if test -f "${SWIFT_LINT}"; then
if test -f "${SWIFT_LINT_CONFIG}"; then
"${SWIFT_LINT}" autocorrect --config "${SWIFT_LINT_CONFIG}"
else
echo "warning: Swiflint configuration file missing make your the submodule is fetched 😭😩🤦♂️"
fi
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint 😭😩🤦♂️"
fi</string>
</dict>
</array>
</dict>
</array>
</dict>
</plist>