File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,17 @@ prebuild: # prebuildCommand
1717 script : " pwd"
1818 - name : " Write file"
1919 script : " echo Hello >> test.txt"
20+
2021 - name : " SwiftLint"
2122 launchPath : " /bin/bash" # bash, zsh, etc. can be specified
2223 script : " swiftlint lint --fix"
2324
25+ - name : " SwiftLint" # Another way to write ↑↑
26+ launchPath : " /usr/local/bin/swiftlint"
27+ arguments :
28+ - " lint"
29+ - " fix"
30+
2431 - name : " Update schema"
2532 file : " update_schema.sh" # Execute .sh file
2633
@@ -31,20 +38,20 @@ build: # build Command
3138```
3239
3340## Example
34- - SwiftLint
41+ - SwiftLint
3542You can run Lint in SPM without using the SwiftLint plugin.
3643``` yaml
3744- name : " SwiftLint"
3845 script : " swiftlint lint"
3946` ` `
4047
4148- Build Log
42- ` ` ` yaml
49+ ` ` ` yaml
4350- name : " Build Log"
4451 script : " echo \" [$(date)] Build >> build.log\" "
4552` ` `
4653
47- - Theos(Orion) install
54+ - Theos(Orion) install
4855You can install the Tweak from the Build button in SPM.
4956` ` ` yaml
5057- name : " Theos make package and install"
You can’t perform that action at this time.
0 commit comments