Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Nov 28, 2016
0 parents commit c3140ba
Show file tree
Hide file tree
Showing 26 changed files with 1,381 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .arcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"load": [
"material-arc-tools/third_party/arc-hook-conphig",
"material-arc-tools/third_party/arc-hook-github-issues",
"material-arc-tools/third_party/arc-jazzy-linter",
"material-arc-tools/third_party/arc-proselint",
"material-arc-tools/third_party/arc-xcode-test-engine",
"material-arc-tools/third_party/clang-format-linter"
],
"arcanist_configuration": "HookConphig",
"phabricator.uri": "http://codereview.cc/",
"arc.land.onto.default": "develop",
"arc.feature.start.default": "origin/develop",
"unit.xcode": {
"build": {
"workspace": "MaterialMotionStreams.xcworkspace",
"scheme": "UnitTests",
"configuration": "Debug",
"destination": "platform=iOS Simulator,name=iPhone 6s"
},
"coverage": {
"product": "MaterialMotionStreams.framework/MaterialMotionStreams"
},
"pre-build": "pod install"
}
}
44 changes: 44 additions & 0 deletions .arclint
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"linters": {
"chmod": {
"type": "chmod"
},
"text": {
"type": "text",
"include": "(\\.(m|h|mm|md|swift)$)",
"exclude": [
"(/Pods/)"
],
"severity": {
"3": "disabled",
"5": "disabled"
}
},
"prose": {
"type": "prose",
"include": "(\\.(md)$)",
"exclude": [
"(^CHANGELOG.md)"
],
"severity": {
"typography.symbols.curly_quotes": "disabled",
"typography.symbols.ellipsis": "disabled",
"leonard.exclamation.30ppm": "disabled",
"misc.annotations": "warning"
}
},
"spelling": {
"type": "spelling",
"include": "(\\.(md)$)"
},
"clang-format": {
"type": "clang-format",
"include": "(\\.(m|h|mm)$)",
"exclude": "(/Pods/)"
},
"jazzy": {
"type": "jazzy",
"include": "(src/[^\/]+?\\.(h|swift)$)"
}
}
}
12 changes: 12 additions & 0 deletions .arcunit
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"engines": {
"xcode": {
"type": "xcode-test-engine",
"include": [
"(\\.(m|h|mm|swift)$)",
"(Podfile)"
],
"exclude": "(/Pods/)"
}
}
}
12 changes: 12 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BasedOnStyle: Google

AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
BinPackParameters: false
ColumnLimit: 0
IndentWrappedFunctionNames: true
ObjCSpaceBeforeProtocolList: true
PointerBindsToType: false
SortIncludes: true
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage:
ignore:
- "examples/"
69 changes: 69 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Jazzy
docs/

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xcuserstate

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
Pods/
*.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
10 changes: 10 additions & 0 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module: MaterialMotionStreams
module_version: 1.0.0
sdk: iphonesimulator
xcodebuild_arguments:
- -workspace
- MaterialMotionStreams.xcworkspace
- -scheme
- MaterialMotionStreams
github_url: https://github.com/material-motion/streams-swift
github_file_prefix: https://github.com/material-motion/streams-swift/tree/v1.0.0
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: objective-c
osx_image: xcode8.1
sudo: false
notifications:
email: false
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- git clone https://github.com/phacility/arcanist.git
- git clone https://github.com/phacility/libphutil.git
- git clone --recursive https://github.com/material-foundation/material-arc-tools.git
- pod install --repo-update
script:
- set -o pipefail
- arcanist/bin/arc unit --everything --trace
- xcodebuild build -workspace MaterialMotionStreams.xcworkspace -scheme Catalog -sdk "iphonesimulator10.1" -destination "name=iPhone 6s,OS=10.1" ONLY_ACTIVE_ARCH=YES | xcpretty -c;
after_success:
- bash <(curl -s https://codecov.io/bash)
8 changes: 8 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This is the list of Material Motion streams for Apple devices authors for copyright purposes.
#
# This does not necessarily list everyone who has contributed code, since in
# some cases, their employer may be the copyright holder. To see the full list
# of contributors, see the revision history with git log.

Google Inc.
and other contributors
Empty file added CHANGELOG.md
Empty file.
31 changes: 31 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Want to contribute? Great! First, read this page (including the small print at
the end).

### Before you contribute

Before we can use your code, you must sign the
[Google Individual Contributor License Agreement]
(https://cla.developers.google.com/about/google-individual)
(CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for instance that you'll tell us if you
know that your code infringes on other people's patents. You don't have to sign
the CLA until after you've submitted your code for review and a member has
approved it, but you must do it before we can put your code into our codebase.
Before you start working on a larger contribution, you should get in touch with
us first through the issue tracker with your idea so that we can help out and
possibly guide you. Coordinating up front makes it much easier to avoid
frustration later on.

### Code reviews

All submissions, including submissions by project members, require review.
We use GitHub pull requests for this purpose.

### The small print

Contributions made by corporations are covered by a different agreement than
the one above, the
[Software Grant and Corporate Contributor License Agreement]
(https://cla.developers.google.com/about/google-corporate).
Loading

0 comments on commit c3140ba

Please sign in to comment.