source 'https://github.com/CocoaPods/Specs.git'

# ignore all warnings from all pods
inhibit_all_warnings!

def common_pods
    pod "toxcore", :git => 'https://github.com/Zoxcore/toxcore.git', :commit => '5cf8c66a8fc3f2ab0708a15e3d77ba9e77f48a81'
    pod 'CocoaLumberjack', '~> 1.9.2'
    pod 'Realm', '10.36.0'
    pod 'TPCircularBuffer', '~> 0.0.1'
end

def demo_pods
    pod 'Masonry', '~> 0.6.1'
    pod 'BlocksKit', '~> 2.2.5'
end

def test_pods
    pod 'OCMock', '3.3.1'
end


target :iOSDemo do
    platform :ios, '8.0'
    common_pods
    demo_pods
end

target :iOSDemoTests do
    platform :ios, '8.0'
    common_pods
    test_pods
end

target :OSXDemo do
    platform :osx, '10.9'
    common_pods
    demo_pods
end

target :OSXDemoTests do
    platform :osx, '10.9'
    common_pods
    test_pods
end
