-
Notifications
You must be signed in to change notification settings - Fork 2
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
0 parents
commit ec30280
Showing
52 changed files
with
2,764 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,23 @@ | ||
# Xcode | ||
|
||
.build/ | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
|
||
# FactoryProvider | ||
|
||
generate |
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 @@ | ||
4.1 |
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,5 @@ | ||
language: swift | ||
osx_image: xcode9.3 | ||
|
||
script: | ||
- cd Generator && swift test |
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,32 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "FactoryProvider" | ||
s.version = "0.1.0" | ||
s.summary = "FactoryProvider - generate boilerplate of factory Swift framework." | ||
s.description = <<-DESC | ||
FactoryProvider is a framework to generate boilerplate of factory with an easy to write TestCase. | ||
It generates factories automatically to enable this functionality. | ||
DESC | ||
|
||
s.homepage = "https://github.com/Nonchalant/FactoryProvider" | ||
s.license = 'MIT' | ||
s.author = { "Takeshi Ihara" => "afrontier829@gmail.com" } | ||
s.source = { | ||
:git => "https://github.com/Nonchalant/FactoryProvider.git", | ||
:tag => s.version.to_s | ||
} | ||
|
||
s.ios.deployment_target = '8.0' | ||
s.osx.deployment_target = '10.9' | ||
s.watchos.deployment_target = '2.0' | ||
s.tvos.deployment_target = '9.0' | ||
s.source_files = ['Source/**/*.swift'] | ||
generator_name = 'generate' | ||
s.preserve_paths = ['Generator/**/*', generator_name] | ||
s.prepare_command = <<-CMD | ||
curl -Lo #{generator_name} https://github.com/Nonchalant/FactoryProvider/releases/download/#{s.version}/#{generator_name} | ||
chmod +x #{generator_name} | ||
CMD | ||
s.frameworks = 'Foundation' | ||
s.requires_arc = true | ||
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO', 'SWIFT_REFLECTION_METADATA_LEVEL' => 'none' } | ||
end |
Oops, something went wrong.