Skip to content

Instantly share code, notes, and snippets.

View scottdensmore's full-sized avatar

Scott Densmore scottdensmore

View GitHub Profile
@scottdensmore
scottdensmore / .swiftlint.yml
Last active January 25, 2019 04:25
Swiftlint configuration file
disabled_rules: # rule identifiers to exclude from running
- variable_name
- nesting
- function_parameter_count
opt_in_rules: # some rules are only opt-in
- control_statement
- empty_count
- trailing_newline
- colon
- comma
@scottdensmore
scottdensmore / update-version.sh
Created May 13, 2017 04:49 — forked from jellybeansoup/update-version.sh
Script for Incrementing Version Numbers
#!/bin/bash
# Link: <https://gist.github.com/jellybeansoup/db7b24fb4c7ed44030f4>
#
# A command-line script for incrementing build numbers for all known targets in an Xcode project.
#
# This script has two main goals: firstly, to ensure that all the targets in a project have the
# same CFBundleVersion and CFBundleShortVersionString values. This is because mismatched values
# can cause a warning when submitting to the App Store. Secondly, to ensure that the build number
# is incremented appropriately when git has changes.
#
@scottdensmore
scottdensmore / scott.cfg
Last active December 11, 2015 08:49
Uncrustify configuration
#
# General options
#
# The type of line endings
newlines = auto # auto/lf/crlf/cr
# The original size of tabs in the input
input_tab_size = 4 # number