0.0
No release in over 3 years
Low commit activity in last 3 years
- xcsims: Delete all simulators and recreate one for each compatible platform and device type pairing. - sync-git-remotes: Make sure all your GitHub repos are cloned into a given directory and keep them synced with upstream. Forks are maintained with a remote for both the fork and upstream, both remotes' default branches are tracked in local counterparts, and the upstream default branch is also pushed to the fork. - changetag: Extract changelog entries to write into git tag annotation messages. - prerelease-podspec: Branch and create/push a release candidate tag, modify the podspec to use that version tag, and try linting it. - release-podspec: Create a tag with the version and push it to repo origin, push podspec to CocoaPods trunk. - revert-failed-release-tag: In case `release-podspec` fails, make sure the tag it may have created/pushed is destroyed before trying to run it again after fixing, so it doesn't break due to the tag already existing the second time around. - bumpr: Increment the desired part of a version number (major/minor/patch/build) and write the change to a git commit. - clean-rc-tags: deletes any release candidate tags leftover after prerelease testing. - migrate-changelog: for a changelog adhering to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), move any contents under Unreleased to a new section for a new version with the current date.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.1
~> 4.20.0
 Project Readme

tools

A collection of scripts and tools to help with software development. Each executable in bin/ can be run with -h/--help for information.

Installation

RubyGems

Install directly at the command line:

gem install tworingtools

Or make sure you have the following in your Gemfile:

source 'https://rubygems.org'
gem 'tworingtools'

Manual

Distributed as a Ruby Gem with executable scripts. Clone or download this repo, then cd in and run

gem build tworingtools.gemspec
gem install tworingtools-1.0.0.gem # make sure you use the right filename, in case the version is newer or formatting changes!

You should then have all the tools available in your PATH.

TODO

sync-git-remotes

  • --standardize-remotes: for forks already cloned locally, inspect the git remotes and ensure a remote exists for the fork's repo named “fork” and one exists for the original repo's remote named “upstream”
  • --prune: delete any repositories not found in the forks list received from GitHub api

changetag

  • Post extracted changelog entries to GitHub/GitLab/etc release notes for tags using their API. This will cause them to actually be rendered with markdown, whereas the tag annotation messages are not. May need to rename from changetag to something more appropriate, or create a different tool to do this part.

prerelease-podspec/release-podspec

  • generalize to other types of dependency specs, rename to [pre]release-spec

update-all-usages

  • finish implementation
  • compile results of all updates into digestible format

revert-failed-release-tag

  • generalize to other types of dependency specs

Contribute

Issues and pull requests are welcome!

If this project helped you, please consider leaving a tip 🤗