Skip to content

Commit 4876e98

Browse files
committed
Update README.md
1 parent d47b283 commit 4876e98

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff 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
3542
You 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
4855
You can install the Tweak from the Build button in SPM.
4956
```yaml
5057
- name: "Theos make package and install"

0 commit comments

Comments
 (0)