docs: add snippets docs
This commit is contained in:
parent
7b5b6ed945
commit
614e574596
|
|
@ -10,6 +10,10 @@ This repository contains the following additional frameworks:
|
|||
- [OTPSwiftView](OTPSwiftView) - a fully customizable OTP view.
|
||||
- [TISwiftUtils](TISwiftUtils) - a bunch of useful helpers for development.
|
||||
- [TITableKitUtils](TITableKitUtils) - Set of helpers for TableKit classes.
|
||||
|
||||
Useful docs:
|
||||
- [Semantic Commit Messages](docs/semantic-commit-messages.md) - commit message codestyle.
|
||||
- [Snippets](docs/snippets.md) - useful commands and scripts for development.
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
# Snippets
|
||||
|
||||
- [⚡ Cocoapods](#cocoapods)
|
||||
- [Bump version in podspecs](#bump-version-in-podspecs)
|
||||
- [Push changes to podspecs repo](#push-changes-to-podspecs-repo)
|
||||
|
||||
## Cocoapods
|
||||
|
||||
### Bump version in podspecs
|
||||
|
||||
1. Install nmp: `brew install node`
|
||||
2. Install podspec-bump: `npm install -g podspec-bump`
|
||||
3. Run command in project folder: `find . -name '*.podspec' | xargs -I% npx podspec-bump -i "Version - x.y.z" -w -p %`
|
||||
|
||||
### Push changes to podspecs repo
|
||||
|
||||
1. Add repo: `pod repo add touchinstinct git@github.com:TouchInstinct/Podspecs`
|
||||
2. Run command in project folder: `find . -name '*.podspec' | xargs -I% pod repo push git@github.com:TouchInstinct/Podspecs % --allow-warnings`
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue