You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove all code and integration of CodeBeat
* Remove all code and integration of CodeClimate
* Remove the crappy ugly shitty code and replace it with something one can actually read
* Adds lots of comment and documentation for further maintenance
* Parse the config files and insert properly the rule declarations
* Fix integration for Frameworks
This will copy the Codebeat configuration files, copy the SwiftLint configuration and for DEBUG configuration run SwiftLint. In case either of them shouldn't be used in the project a flag can be used to opt out (see the readme below).
44
43
45
44
If you want to add more parameters, eg. to disable SwiftLint, you have to add them with separate `"`s. Otherwise the parameters will be interpreted as one string. Example with disabled SwiftLint:
@@ -163,7 +162,7 @@ Multiple `#if canImport(LifetimeTracker)` checks make sure that targets with Lif
163
162
164
163
## Scripts to be called during Build phase
165
164
166
-
###SwiftLint
165
+
###SwiftLint
167
166
168
167
Swiftlint is integrated in SMF-iOS-CommonProjectSetupFiles itself. The current version is 0.28.1.
169
168
@@ -187,15 +186,6 @@ excluded:
187
186
#### Optional: Call the SwiftLint script without using the setup script
188
187
If you want to copy the SwiftLint configuration and lint the code without integrating the setup script you can call `Submodules/SMF-iOS-CommonProjectSetupFiles/SwiftLint/copy-and-run-swiftlint-config.sh` directly.
189
188
190
-
### Codebeat
191
-
192
-
[Codebeat](http://codebeat.co) is a service which provides static code analysis. The integration isn't done in the repo itself. But ignore and configuration files should be added to customize rules and ignore unwanted code (like generated source files).
193
-
194
-
The Codebeat configuration files copying is integrated in the [setup script](#setup). If it shouldn't be used you can pass the flag `--no-codebeat`.
195
-
196
-
#### Optional: Call the Codebeat configuration script without using the setup script
197
-
If you want to copy the Codebeat configuration files without integrating the setup script you can call `Submodules/SMF-iOS-CommonProjectSetupFiles/Codebeat/copy-codebeat-config.sh` directly.
198
-
199
189
### Xcode version check
200
190
201
191
Building a project will trigger a Xcode version check to ensure you are working with the right Xcode version and an updated `smf.properties`. This script will look for the Xcode version specified in `smf.properties`. It will compare it to the Xcode version you are currently building the project and throw an error if it does not match.
0 commit comments