Skip to content

Commit af6d3a8

Browse files
committed
Add example to make swift code with build command
1 parent 634131a commit af6d3a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ prebuild: # prebuild Command
3737
file: "update_schema.sh" # Execute .sh file
3838

3939
build: # build Command
40-
- name: "Hello"
41-
script: "echo Hello"
40+
- name: "Hello"
41+
script: "echo Hello"
42+
- name: "Make Swift Code"
43+
script: |
44+
echo "public enum Hello { case a,b,c,d }" > $RUN_SCRIPT_PLUGIN_WORK_DIR/tmp.swift"
4245
4346
command: # Command Plugin
4447
- name: "Hello from Command"

0 commit comments

Comments
 (0)