Skip to content

Commit

Permalink
Add project to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
yvbeek committed Apr 23, 2017
1 parent 569c726 commit 6aacd5b
Show file tree
Hide file tree
Showing 162 changed files with 29,137 additions and 372 deletions.
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# OSX
.DS_Store
.Trashes
*.swp
*.lock

# Xcode
build/
DerivedData/
xcuserdata
*.xccheckout

*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3

# OCLint
compile_commands.json
oclint.html
xcodebuild.log

# Third party tools
.idea/
FauxPasConfig/

# Exceptions
!default.pbxuser
!default.mode1v3
!default.mode2v3
!default.perspectivev3
!Podfile.lock
!Pods/Manifest.lock
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
23 changes: 23 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
disabled_rules:
- cyclomatic_complexity
- force_cast
- force_try
- line_length
- todo
- valid_docs
- variable_name
opt_in_rules:
- closure_end_indentation
- closure_spacing
- empty_count
- explicit_init
- first_where
- nimble_operator
- object_literal
- operator_usage_whitespace
- overridden_super_call
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
excluded:
- Pods
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
language: objective-c
osx_image: xcode8
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE="Telegraph.xcworkspace"
- IOS_FRAMEWORK_SCHEME="Telegraph"
- IOS_SDK=iphonesimulator10.0
- EXAMPLE_SCHEME="iOS Example"
matrix:
- DESTINATION="OS=10.0,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" POD_LINT="NO"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -list
- xcodebuild -workspace "$WORKSPACE" -list

# Build and test Framework in Debug
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty

# Build Framework in ReleaseTest
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO build | xcpretty

# Build Example in Debug if specified
- xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty

# Run `pod lib lint` if specified
- if [ $POD_LINT == "YES" ]; then
pod lib lint;
fi

- CheckCocoaPodsQualityIndexes.rb Telegraph
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Change Log
All notable changes to this project will be documented in this file.
`Telegraph` adheres to [Semantic Versioning](http://semver.org/).

## [0.1.0](https://github.com/Building42/Telegraph/releases/tag/0.1.0)
First release
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

All contributors are welcome. Please use issues and pull requests to contribute to the project. And update [CHANGELOG.md](CHANGELOG.md) when committing.

## Making a change

When you commit a change, please add a note to [CHANGELOG.md](CHANGELOG.md).

## Release process

1. Confirm the build is [passing in travis](https://travis-ci.org/Building42/Telegraph)
1. This automatically checks the Podfile is building
2. Push a release commit
1. Create a new Master section at the top
2. Rename the old Master section like:
## [1.0.5](https://github.com/Building42/Telegraph/releases/tag/1.0.5)
Released on 2016-02-14.
3. Update the Podspec version number
3. Create a GitHub release
1. Tag the release (like `1.0.5`)
2. Paste notes from [CHANGELOG.md](CHANGELOG.md)
3. Push the Podspec to CocoaPods
1. `pod trunk push`
4. Create Carthage binaries
1. `carthage build --no-skip-current`
2. `carthage archive Telegraph`
3. Add to the GitHub release
Loading

0 comments on commit 6aacd5b

Please sign in to comment.