AlphaWallet / AlphaWallet/alpha-wallet-ios

Optimise build times by specifying only the generators we use in R.swift

オープン
#4,701 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Swift
スター
631
フォーク
384
PR マージ指標
30日以内にマージされた PR はありません

説明

From the [R.swift documentation](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Ignoring.md#only-run-specific-generators-exclude-rsomething)
By default, R.swift runs all generators, for images, nibs, strings and many more. In some situations you may not want to generate R structs for all these types. You can choose to run only certain generators by adding a flag like this: --generators image,string to the call to the [Build Phase](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Images/BuildPhaseExample.png)
```
These are the available generators:

image
string
color
file
font
nib
segue
storyboard
reuseIdentifier
entitlements
info
id
```
I believe we only use image, string, color, file, font. We should optimise this in order to reduce build times.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。