forked from square/cocoapods-generate
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# frozen_string_literal: true | ||
|
||
Pod::Specification.new do |s| | ||
s.name = 'Bar' | ||
s.version = '1.0.0' | ||
|
||
s.authors = %w[Square] | ||
s.homepage = 'https://github.com/Square/cocoapods-generate' | ||
s.source = { git: 'https://github.com/Square/cocoapods-generate' } | ||
s.summary = 'Testing pod' | ||
|
||
s.ios.deployment_target = '9.0' | ||
|
||
s.source_files = 'Sources' | ||
|
||
s.test_spec 'Tests' do |ts| | ||
ts.source_files = 'Tests' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# frozen_string_literal: true | ||
|
||
Pod::Specification.new do |s| | ||
s.name = 'Foo' | ||
s.version = '1.0.0' | ||
|
||
s.authors = %w[Square] | ||
s.homepage = 'https://github.com/Square/cocoapods-generate' | ||
s.source = { git: 'https://github.com/Square/cocoapods-generate' } | ||
s.summary = 'Testing pod' | ||
|
||
s.ios.deployment_target = '9.0' | ||
s.macos.deployment_target = '10.10' | ||
s.watchos.deployment_target = '4.0' | ||
s.tvos.deployment_target = '11.0' | ||
|
||
s.source_files = 'Sources' | ||
|
||
s.ios.dependency 'Bar' | ||
|
||
s.test_spec 'Tests' do |ts| | ||
ts.source_files = 'Tests' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@interface Foo: NSObject | ||
@end | ||
|
||
@implementation Foo | ||
+ (void)load { NSLog(@"Loaded %@", self); } | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#import <XCTest/XCTest.h> | ||
|
||
@interface FooTests: XCTestCase | ||
@end | ||
|
||
@implementation FooTests | ||
|
||
- (void)testFoo { | ||
XCTAssertTrue(YES); | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
description: generates a workspace for a podspec with a single platform specific dependency | ||
args: 'Foo.podspec --local-sources="./"' |