exclude playground app from lint, add make gen command to Makefile

This commit is contained in:
Ivan Smolin 2023-05-24 13:35:01 +03:00
parent 39109c6e60
commit f1fe35d298
2 changed files with 8 additions and 2 deletions

View File

@ -97,6 +97,7 @@ excluded:
- "**/Generated"
- "**/Resources"
- ".gem"
- "**/*.app"
line_length:
warning: 128

View File

@ -8,6 +8,7 @@ RUBY_VERSION="2.7.6"
open_project=(open *.xcworkspace)
install_dev_certs=(bundle exec fastlane SyncCodeSigning type:development readonly:true)
install_pods=(bundle exec pod install || bundle exec pod install --repo-update)
init_rbenv=(if command -v rbenv &> /dev/null; then eval "$$(rbenv init -)"; fi)
TARGET_MAX_CHAR_NUM=20
## Show help
@ -31,7 +32,7 @@ help:
init:
brew bundle
eval "$(rbenv init -)"
$(call init_rbenv)
rbenv install -s ${RUBY_VERSION}
rbenv global ${RUBY_VERSION}
@ -43,7 +44,7 @@ init:
bundle install
xcodegen
$(call gen)
$(call install_pods)
@ -59,6 +60,10 @@ init:
pod:
$(call install_pods)
## Запускает генерацию файла проекта
gen:
xcodegen
## Устанавливает сертификат и профили для запуска на девайсе
dev_certs:
$(call install_dev_certs)