Commit Graph

388 Commits

Author SHA1 Message Date
Maxim Sorokin 635fa8dc98 added style guide and fixed naming 2020-06-30 16:55:06 +03:00
Maxim Sorokin 77d5642b7a fix indent 2020-06-30 16:48:38 +03:00
Maxim Sorokin 6b299828f0 remove multiple_swiftlint.sh 2020-06-30 16:22:47 +03:00
Maxim Sorokin 2e64ab92d4 multiple swiftlint rules script 2020-06-29 16:55:56 +03:00
Boyko Mihail 0f0c2c5c1b replace syncCodeSigning -> sync_code_signing_using_options in commonFastfile 2020-06-19 17:41:09 +03:00
Ivan Smolin a33f97b227 fix ruby syntax 2020-06-19 16:03:21 +03:00
Vlad 343567c1c8 Add missing bundle id 2020-06-19 15:56:38 +03:00
Vitaliy Salnikov 799a23adca Update build options helper submodule 2020-06-18 17:01:22 +03:00
Vitaliy Salnikov 1c6abf0146 Place config rendering temp data to renderer current directory 2020-06-17 15:35:33 +03:00
Maxim Sorokin 4ebcbadea2 multiple swiftlint rules script 2020-06-15 14:38:44 +03:00
Ivan Smolin 8711d20e72 Replace build_options_helper with submodule 2020-06-15 13:05:06 +03:00
Ivan Smolin b45ac60a2a add configs generation based on build options 2020-06-11 16:44:14 +03:00
Ivan Smolin ad099aa9c9 remove private lane syncCodeSigning, use public SyncCodeSigning instead 2020-06-11 10:49:12 +03:00
Vitaliy Salnikov f7ef221e4f Unify build custom config and configurations.yaml 2020-06-09 15:51:13 +03:00
Vitaliy Salnikov 3a46d7bba8 Add ability for render_configs.rb to source custom configs and automatically fetch team id 2020-06-05 18:47:00 +03:00
Vlad 0cfb8001e8 Fix rule 2020-06-05 15:16:38 +03:00
Vitaliy Salnikov e471637325
Merge pull request #196 from TouchInstinct/feature/app_badge_number
Include numbers in build badge
2020-06-05 14:27:08 +03:00
Vitaliy Salnikov 4c3aea94a2 Add comments to build badge description creation 2020-06-05 14:14:25 +03:00
Vlad a8c20aa760 Update rule 2020-06-05 12:48:35 +03:00
Vlad 08481ba0d3 Update rule 2020-06-05 12:44:11 +03:00
Vlad f03660eb79 Update rule 2020-06-05 12:38:47 +03:00
Vlad 0e0e66775e Add new rule 2020-06-05 12:34:49 +03:00
Vlad 4770ee7f78 Revert "Update script"
This reverts commit 5c277597f7.
2020-06-04 23:44:17 +03:00
Vlad 5c277597f7 Update script 2020-06-04 23:38:30 +03:00
Vlad e512ec339d Update script 2020-06-04 23:15:53 +03:00
Vitaliy Salnikov 2ff3fb763a Include numbers in build badge 2020-06-04 18:53:20 +03:00
Vlad 0e5f9b67f6 Update rule 2020-06-01 23:00:46 +03:00
Vlad 1eedb71209 Small corrections 2020-06-01 22:48:24 +03:00
Vlad d6589c53a3 Update rule 2020-06-01 22:46:05 +03:00
Vlad 74b5c1da91 Update rule 2020-06-01 22:43:26 +03:00
Vlad 7979e8088b Update rule 2020-06-01 22:42:37 +03:00
Vlad 05fd54ed8d Update rule 2020-06-01 21:58:35 +03:00
Vlad cc4647e3b4 Add check on type annotation for Bool 2020-06-01 21:52:07 +03:00
Vitaliy Salnikov ea14358a2e
Merge pull request #191 from TouchInstinct/build_badge
Build badge
2020-05-21 15:49:52 +03:00
Vitaliy Salnikov d1faa6cdfe Continue build on badge generation fail 2020-05-21 12:41:41 +03:00
Vlad 917ff13a0a [Update] info 2020-05-21 11:51:43 +03:00
Vlad 14cce365b8 [Update] info 2020-05-21 11:49:23 +03:00
Vitaliy Salnikov 33851d484a Remove Homebrew dependency fetching 2020-05-21 11:45:08 +03:00
Vlad 1181278091 [Update] regexp 2020-05-21 11:37:02 +03:00
Vlad 02f6f184a7 [Update] regexp 2020-05-21 11:28:23 +03:00
Vlad a719bb5558 [Update] regexp 2020-05-21 11:15:11 +03:00
Vlad b99d405e87 [Update] regexp 2020-05-21 11:11:41 +03:00
Vlad d8fd6d4262 [Update] regexp 2020-05-21 11:05:51 +03:00
Vlad 6986100357 [Add] rule contentView in cell rule 2020-05-21 10:44:40 +03:00
Vitaliy Salnikov e52308fc6c Change Homebrew dependency handling 2020-05-18 18:59:33 +03:00
Vitaliy Salnikov e2399629c3 Fail build on badge generation fail 2020-05-18 14:49:59 +03:00
Vitaliy Salnikov 5ede10f8d6 Add Brewfile bundle to commonFastlane 2020-05-18 14:45:22 +03:00
Vitaliy Salnikov 0633d7c371 Add lane for generating icon shields 2020-05-18 14:44:56 +03:00
Vlad 861bb95a05 Fix comments check 2020-05-15 14:48:32 +03:00
Vlad c5b08186d0 Fix check for number variables 2020-05-15 14:35:16 +03:00
Vlad 5ef4c23ae7 [Fix] PR 2020-05-13 10:33:32 +03:00
Vlad 0515e28828 [Fix] regexp 2020-05-13 00:05:42 +03:00
Vlad 49ff743f31 [Fix] regexp 2020-05-13 00:00:33 +03:00
Vlad b5a77c09d1 [Update] rule 2020-05-12 23:58:01 +03:00
Vlad 933c0049b9 [Add] check for capture list 2020-05-12 12:23:30 +03:00
Vlad 4f0ea050d3 [Update] rule 2020-05-12 11:45:26 +03:00
Vlad 89c9b4d72e [Remove] false-positive reaction with comments 2020-05-12 11:38:49 +03:00
Vlad 75849acb9c [Update] rule 2020-05-12 11:31:49 +03:00
Vlad b285f6c86f [Update] error message 2020-05-12 11:22:01 +03:00
Vlad 24a338d1b7 [Add] new closure rule 2020-05-12 11:20:04 +03:00
Ivan Smolin ee444d2700 fix indentation 2020-04-29 10:39:29 +03:00
Ivan Smolin 8ecb0c6892 remove useless code 2020-04-29 10:39:11 +03:00
Ivan Smolin d57333f5d1 add SyncSymbols lane; make code a little better 2020-04-28 18:08:38 +03:00
Maxim Sorokin 23789510b3 added new swiftlint rules 2020-04-12 13:54:01 +03:00
Maxim Sorokin 9b759003ff added new swiftlint rules 2020-04-10 13:45:26 +03:00
Maxim Sorokin 9dee92ef6f added new swiftlint rules 2020-04-10 13:34:40 +03:00
Maxim Sorokin 882759b6fa added new swiftlint rules 2020-04-08 20:40:46 +03:00
Maxim Sorokin e42fd8f257 added new swiftlint rules 2020-04-08 19:56:42 +03:00
Maxim Sorokin b159715f6a added new swiftlint rules 2020-04-08 17:59:17 +03:00
Maxim Sorokin b2460f0683 added new swiftlint rules 2020-04-08 17:30:01 +03:00
Vlad 7ba32d59a8 Add Carthage to FILES_TO_EXCLUDE 2020-04-06 14:37:33 +03:00
Ivan Smolin 1a5abfc580 fix multiline warnings 2020-04-01 16:07:36 +03:00
Ivan Smolin a8284d136e make cpd paths relative, so developers won't rewrite entire file 2020-04-01 15:16:08 +03:00
Ivan Smolin 53a0c5fbee fix argument index in cpd_script.php 2020-04-01 13:44:20 +03:00
Ivan Smolin 2fbfcf3d59 pass CPD_XML_PATH to cpd_script.php 2020-04-01 13:39:19 +03:00
Ivan Smolin 097dd43301 update line_length rule, so it ignores long urls 2020-04-01 13:02:32 +03:00
Ivan Smolin 1d0ef76314 create code-quality-reports folder for cpd and unused; check if cpd is installed; run cpd for all targets 2020-04-01 12:55:03 +03:00
Ivan Smolin 55f503fc6f decrease maximum number of enum parameters to 4 for warning and 5 for error 2020-03-31 12:42:38 +03:00
Ivan Smolin 0291efe8c9 use $TARGET_NAME instead of $PROJECT_NAME as default folder path for linting 2020-03-31 12:29:45 +03:00
Ivan Smolin 29debb2477 update swiftlint rules for 0.39.1 version 2020-03-31 00:11:26 +03:00
Boyko Mihail 2a9d8e96e3 [Issue 167] Fix PR issue from Ivam Smolin 2020-03-12 15:35:33 +03:00
Boyko Mihail b2e8152adb [Issue 167] faild build if json localization is null 2020-03-12 15:29:56 +03:00
krasich74 5686ab5d95 Fix api_generator_out_of_memoty_error 2020-03-03 14:12:05 +03:00
Mihail fcf8a3fa5c
Merge pull request #159 from TouchInstinct/feature/firebase
use Firebase instead of Fabric
2020-02-27 16:01:13 +03:00
Boyko Mihail 34751f808f Remove firebase app id 2020-02-27 11:43:19 +03:00
Ivan Smolin a88561ce7f
Merge pull request #132 from TouchInstinct/feature/experimential_configuration_select
build Release configuration with specific xcconfig
2020-02-21 16:27:08 +03:00
Ivan Smolin 71fb91ec3f use Firebase instead of Fabric 2020-01-30 19:32:52 +03:00
Loupehope 85947a143e
Merge pull request #156 from TouchInstinct/feature/experimential_rome
Feature/experimential rome
2020-01-23 18:51:47 +03:00
Ivan Smolin d9d0a6034f fix carthage retry 2020-01-23 12:55:44 +03:00
Vlad 555c0f2e58 Update swiftlint.yml 2020-01-22 22:18:40 +03:00
Ivan Smolin b2a07d79c3 run rome from project folder 2020-01-22 18:17:11 +03:00
Vlad de4b8102c6 Return last_where 2020-01-20 17:22:42 +03:00
Vlad 2b3852a21a Swiftlint correction 2020-01-20 15:51:44 +03:00
Ivan Smolin 1a1381dd19 change Romу path 2020-01-17 11:47:53 +03:00
Ivan Smolin 16eeea5b55 add Rome support 2020-01-17 11:19:48 +03:00
Maxim Sorokin 75bda07282 added folder and file to delete capabilities for download_file.sh 2020-01-15 17:11:24 +03:00
Maxim Sorokin 566e165d3f added folder and file to delete capabilities for download_file.sh 2020-01-15 17:02:56 +03:00
Maxim Sorokin 618547c080 added folder and file to delete capabilities for download_file.sh 2020-01-15 16:42:58 +03:00
Maxim Sorokin 1205e6c5bb added folder and file to delete capabilities for download_file.sh 2020-01-15 16:27:02 +03:00
Maxim Sorokin 94c179f666 added folder and file to delete capabilities for download_file.sh 2020-01-15 13:52:43 +03:00
Ivan Smolin f86e9b653a add cache_builds option to carthage 2020-01-13 12:30:44 +03:00
Ivan Smolin 02b107e7a8 Merge branch 'master' into feature/experimential_configuration_select 2019-11-19 18:30:37 +03:00
Victor Shabanov 6ed301663c Fix strings import script 2019-10-17 18:54:39 +03:00
Victor Shabanov 9e270928d5 Fix localization NSLocalizedString static values visibility 2019-10-17 15:50:28 +03:00
Victor Shabanov 1d04958271 Change api generation and localization scripts to work with swift modules 2019-10-17 15:42:36 +03:00
Ivan Smolin b65ce9a93c
Merge branch 'master' into feature/experimential_configuration_select 2019-09-30 13:37:08 +03:00
Ivan Smolin e31a200c41 install ruby dependencies from Gemfile 2019-09-30 13:23:42 +03:00
Sergey Kopytov e628d37039 Revert "add lanes generator"
This reverts commit f1cbf04318.
2019-09-17 11:21:30 +03:00
Sergey Kopytov f1cbf04318 add lanes generator 2019-09-16 22:27:51 +03:00
Sergey Kopytov d73b9f8500 add missing bundle id generator 2019-09-16 20:06:03 +03:00
Sergey Kopytov 1a381bad79 refactor 2019-09-16 13:59:09 +03:00
Sergey Kopytov dea34e68e7 refactor generators functions 2019-09-13 14:29:05 +03:00
Sergey Kopytov 20d4e50698 refactor 2019-09-13 14:15:48 +03:00
Sergey Kopytov b6ef418a07 add configs generator script 2019-09-12 22:35:27 +03:00
Sergey Kopytov b0f9fbc69a fix missing comma 2019-09-03 18:56:23 +03:00
Sergey Kopytov 6d01fefb6f refactor 2019-09-02 14:02:25 +03:00
Sergey Kopytov 3bffb17ee6 fix config lane for work wih multiple configs 2019-08-30 20:50:08 +03:00
Ivan Smolin 6a125006eb change path of gem home for bundler 2019-08-29 14:00:43 +03:00
Ivan Smolin 94a72409e9 add bundle install call 2019-08-29 12:54:49 +03:00
Ivan Smolin 2cd0b029d5 select AppStore xcconfig for AppStoreRelease lane 2019-08-23 13:57:38 +03:00
Ivan Smolin 1250921a31 use AppStore config for AppStoreRelease lane 2019-08-23 12:59:10 +03:00
Юрий Сорокин aad724b454 Merge branch 'master' into feature/experimential_configuration_select 2019-08-12 16:45:04 +03:00
DashaGitHub cb59454a47 Turn on repo update command 2019-08-09 18:51:04 +03:00
DashaGitHub f3999f601f Turn on repo update command 2019-08-09 16:48:21 +03:00
Юрий Сорокин 82ca5cbbc0 Rename ignore to exclude 2019-08-05 13:15:05 +03:00
Юрий Сорокин 7e6a55d72f Change output log format 2019-08-02 19:48:14 +03:00
Юрий Сорокин 9fe44e481e Fix file output string 2019-08-02 19:38:14 +03:00
Юрий Сорокин 2d6253973d Merge branch 'feature/unusedCodeDetector' of github.com:TouchInstinct/BuildScripts into feature/unusedCodeDetector 2019-08-02 19:31:08 +03:00
Юрий Сорокин 463eda96ec Refactor warnings appearence. Add script source link 2019-08-02 19:30:51 +03:00
Юрий Сорокин 921b87e797 Merge branch 'feature/unusedCodeDetector' of github.com:TouchInstinct/BuildScripts into feature/unusedCodeDetector 2019-08-02 18:32:42 +03:00
Юрий Сорокин 3d61e3db82 Make --ignore argiment optional 2019-08-02 18:30:43 +03:00
Юрий Сорокин b5d26d3d2b Fix typos 2019-08-02 17:47:25 +03:00
Юрий Сорокин 66d2c4a885 Refactor code a bit 2019-08-02 17:30:42 +03:00
Юрий Сорокин 0ded563530 Merge branch 'feature/unusedCodeDetector' of github.com:TouchInstinct/BuildScripts into feature/unusedCodeDetector 2019-08-02 17:27:56 +03:00
Юрий Сорокин c6b0b0d7bf Genetare one huge warning 2019-08-02 17:26:51 +03:00
Юрий Сорокин 453284d37b Add arguments parsing in .sh file 2019-08-02 17:13:50 +03:00
Юрий Сорокин 2c91968fdc Make config file .yml. Add OptionParser 2019-08-02 16:53:13 +03:00
Юрий Сорокин 7a5ddf6243 Add nesseccery scripts 2019-08-01 23:52:19 +03:00
Sergey Kopytov 59b15d7db6 add comment 2019-07-31 14:29:48 +03:00
Sergey Kopytov 373792222e refactor 2019-07-31 12:43:32 +03:00
Sergey Kopytov c4be015c0f add removing functionality for ManuallyUpdateCodeSigning lane 2019-07-31 03:09:02 +03:00
Ivan Smolin 21f159b4f8 build Release configuration with specific xcconfig 2019-07-26 16:34:21 +03:00
Ivan Smolin 4460f594a4
Merge pull request #114 from TouchInstinct/fastlane_manually_update_code_signing
add lane for manually update code signing
2019-07-22 10:45:16 +00:00
Sergey Kopytov 38ec863753 remove useless (or overkill) LeadKit function in generated localizable file 2019-06-26 19:08:46 +03:00
Sergey Kopytov 6431ddc873 add optional arguments for localizable strings script (pathes of scripts and texts json) 2019-06-26 19:08:05 +03:00
Ivan Smolin 597205e19c install code signing as well 2019-06-11 15:06:03 +03:00
Ivan Smolin 27a29b573f rename ios setup script 2019-06-11 12:48:30 +03:00
Ivan Smolin b0dff239f9 add setup script for development environment 2019-06-10 18:25:44 +03:00
Ivan Smolin 508979d7b2 add lane for manually update code signing 2019-05-29 11:53:30 +03:00
Ivan Smolin 9238f55ebb fix keychain path again 2019-05-28 17:41:35 +03:00
Ivan Smolin fbc71e057c fix keychain existence check (expand relative path for ruby) 2019-05-22 19:24:53 +03:00
Ivan Smolin a4e1636b53 workaround for invalid ZIP download 2019-05-20 12:35:53 +03:00
Ivan Smolin 05b62eb1b3 remove \n from input string when parsing fabric tokens 2019-05-17 17:37:33 +03:00
Ivan Smolin ce0326f21b don't add keychain to search list multiple times 2019-05-16 16:41:57 +03:00
Ivan Smolin 959516a53b don't set timeout for ci keychain 2019-05-15 23:18:12 +03:00
Ivan Smolin 36d4770648 fix order of code signing and archive build 2019-05-15 18:17:22 +03:00
Ivan Smolin b2ca884774 pass additional parameters to get_push_certificate 2019-04-25 17:11:33 +03:00
Ivan Smolin 9ddcd41cdd fix ruby syntax error 2019-04-25 16:53:53 +03:00
Ivan Smolin 3efb53a590 try to take first element from app_identifier array 2019-04-25 16:48:59 +03:00
Ivan Smolin 10e6b14199 fix CreatePushCertificate lane 2019-04-25 15:48:52 +03:00
Ivan Smolin ff5cb4276a fix wrong coalesce usage in syncCodeSigning lane 2019-04-25 13:52:05 +03:00
Ivan Smolin 4b2075008f Merge branch 'master' into feature/fastlane_match 2019-04-22 12:19:00 +03:00
Ivan Smolin 4fa303f2c0 update crashlytics_path 2019-04-22 12:15:08 +03:00
Ivan Smolin e6608abb28 don't wipe carthage cache anymore 2019-04-18 23:12:50 +03:00
Ivan Smolin 412b1dafeb fix ruby bool coalesce #2 2019-04-05 00:38:44 +03:00
Ivan Smolin a8f3a1c754 fix ruby bool coalesce 2019-04-05 00:37:22 +03:00
Ivan Smolin 70432c18f6 don't wipe binaries anymore 2019-04-05 00:27:21 +03:00
Ivan Smolin 641afa42f3 add ability to pass compileBitcode option 2019-04-05 00:24:09 +03:00
Ivan Smolin 1f2ed6f92b fix profile type selection when checked uploadToAppStore 2019-04-04 17:02:26 +03:00
Ivan Smolin a09f6a724a wipe swift 4.x builded binaries 2019-03-29 15:47:09 +03:00
Ivan Smolin fb406b7940 attempt to fix temporary cache issues 2019-03-29 11:03:57 +03:00
Ivan Smolin dd532f0aac wipe and then run 2019-03-28 22:32:52 +03:00
Ivan Smolin 66ca5e2d4e wipe swift 4.x builded binaries 2019-03-28 22:28:04 +03:00
Ivan Smolin 13bef27dbf fix path 2019-03-22 16:38:59 +03:00
Ivan Smolin 660067ed69 revert iCloudContainerEnvironment 2019-03-22 16:32:19 +03:00
Ivan Smolin dd5d6f3e69 don't remove keychain after build 2019-03-22 16:20:31 +03:00
Ivan Smolin 5efaf15990 fix paths 2019-03-11 18:42:02 +03:00
Ivan Smolin 5e9b785962 fixes 2019-03-07 21:10:02 +03:00
Ivan Smolin 5038956f51 upload to app store finished 2019-03-07 20:48:25 +03:00
Ivan Smolin 5c7bf4d047 upload to appstore option WIP 2019-03-06 10:58:13 +03:00
Ivan Smolin 55cc0c1f0a app store configuration prepare 2019-02-25 18:43:45 +03:00
Ivan Smolin 9a9b420623 small fixes 2019-02-25 17:45:09 +03:00
Ivan Smolin b216095142 revert code in afterBuild private lane. open or create keychain beforу syncCodeSign 2019-02-25 16:52:38 +03:00
Ivan Smolin 2061a8cb36 merge updateCodeSigning and getCodeSigning to syncCodeSigning 2019-02-25 13:39:39 +03:00
Ivan Smolin 982532c200 remove verbose 2019-02-22 16:13:10 +03:00
Ivan Smolin da9e84731b symbolize hash keys 2019-02-22 15:33:16 +03:00
Ivan Smolin b87aa69a4b small refactor 2019-02-22 14:40:46 +03:00
Ivan Smolin 214ea3e5e2 load configuration options from yaml file 2019-02-22 14:24:25 +03:00
Ivan Smolin adb958d25c make createPushCertificate public lane 2019-02-21 14:49:14 +03:00
Ivan Smolin 94f0291c3a ability to pass some parameters via options 2019-02-21 14:38:26 +03:00
Ivan Smolin 97d8f0edcf split syncCodeSigning to getCodeSigning & updateCodeSigning 2019-02-21 14:20:36 +03:00
Ivan Smolin 51271e8a2a try to use project repo as storage 2019-02-21 13:29:57 +03:00
Ivan Smolin f629721026 add createPushCertificate and syncCodeSignning private lanes 2019-02-20 18:40:59 +03:00
Ivan Smolin 7bee714ada update commonFastfile, so it won't run build scripts for non-build lanes 2019-02-20 17:19:26 +03:00
Ivan Smolin a039f4b4c3 don't run carthage for projects without it 2019-02-20 17:02:16 +03:00
Ivan Zinovyev 2de0ff3897 Cert readme generator: Rename files properly 2019-02-14 01:10:55 +03:00
Ivan Zinovyev fd1b7d51a2 Add xcode documentation and certificates readme generator scripts 2019-02-13 13:36:22 +03:00
Ivan Smolin 6c3be07d83
Merge pull request #89 from TouchInstinct/feature/carthage
add carthage to fastfile
2019-02-11 16:09:53 +03:00
Ivan Smolin 016f05fbc0 fix too_many_empty_spaces rule 2019-02-11 13:43:27 +03:00
Ivan Smolin f43aef1fe2 add carthage to fastfile 2019-01-30 20:32:19 +03:00