Add example code for build rules

This commit is contained in:
Patrick Balestra authored and GitHub committed 2019-01-30 22:31:12 +01:00
1 parent b490851c73
commit 8a38b5ef12
1 file changed
+9
+9
View File
@@ -487,6 +487,15 @@ targets:
- [ ] **outputFiles**: **[String]** - The list of output files
- [ ] **outputFilesCompilerFlags**: **[String]** - The list of compiler flags to apply to the output files
```yaml
targets:
MyTarget:
buildRules:
- filePattern: "*.xcassets"
script: generate_assets.py
- fileType: sourcecode.swift
script: pre_process_swift.py
```
### Target Scheme