Add swiftgen build script for generating image and color assets.

This commit is contained in:
Stefan Ceriu
2022-04-14 09:22:55 +03:00
parent 3c0ca95e8f
commit 6c7dd6f6b0
15 changed files with 212 additions and 45 deletions
@@ -2,5 +2,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
+10
View File
@@ -60,6 +60,16 @@ targets:
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
- name: 🛠 SwiftGen
runOnlyWhenInstalling: false
shell: /bin/sh
script: |
export PATH="$PATH:/opt/homebrew/bin"
if which swiftgen >/dev/null; then
swiftgen config run --config Tools/SwiftGen/swiftgen-config.yml
else
echo "warning: SwiftGen not installed, download from https://github.com/SwiftGen/SwiftGen"
fi
dependencies:
- package: MatrixRustSDK