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

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Pstrucha committed Apr 7, 2016
0 parents commit 92c847d
Show file tree
Hide file tree
Showing 28 changed files with 2,383 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .gitignore
@@ -0,0 +1,48 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData

## Filesystem
*.DS_Store

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

## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint

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

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

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

Carthage/Build
.DS_Store
5 changes: 5 additions & 0 deletions .travis.yml
@@ -0,0 +1,5 @@
language: objective-c
xcode_project: FBAllocationTracker.xcodeproj
xcode_scheme: FBAllocationTracker
osx_image: xcode7.2
xcode_sdk: iphonesimulator9.2
33 changes: 33 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,33 @@
# Contributing to FBAllocationTracker
We want to make contributing to this project as easy and transparent as
possible.

## Pull Requests
We actively welcome your pull requests.

1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
6. If you haven't already, complete the Contributor License Agreement ("CLA").

## Contributor License Agreement ("CLA")
In order to accept your pull request, we need you to submit a CLA. You only need
to do this once to work on any of Facebook's open source projects.

Complete your CLA here: <https://code.facebook.com/cla>

## Issues
We use GitHub issues to track public bugs. Please ensure your description is
clear and has sufficient instructions to be able to reproduce the issue.

Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
disclosure of security bugs. In those cases, please go through the process
outlined on that page and do not file a public issue.

## Coding Style
* 2 spaces for indentation rather than tabs

## License
By contributing to FBAllocationTracker, you agree that your contributions will be licensed
under its BSD license.
28 changes: 28 additions & 0 deletions FBAllocationTracker.podspec
@@ -0,0 +1,28 @@
Pod::Spec.new do |s|
s.name = "FBAllocationTracker"
s.version = "0.1"
s.summary = "Interface for tracking allocations and generations of objects"
s.homepage = "https://github.com/facebook/FBAllocationTracker"
s.license = "BSD"
s.author = { "Grzegorz Pstrucha" => "gricha@fb.com" }
s.platform = :ios, "8.0"
s.source = {
:git => "git@github.com:facebook/FBAllocationTracker.git",
:tag => "0.1"
}
s.source_files = "FBAllocationTracker", "FBAllocationTracker/**/*.{h,m,mm}"

mrr_files = [
'FBAllocationTracker/NSObject+FBAllocationTracker.h',
'FBAllocationTracker/NSObject+FBAllocationTracker.mm',
]

files = Pathname.glob("FBAllocationTracker/**/*.{h,m,mm}")
files = files.map {|file| file.to_path}
files = files.reject {|file| mrr_files.include?(file)}

s.requires_arc = files

s.framework = "Foundation"
s.library = 'c++'
end

0 comments on commit 92c847d

Please sign in to comment.