Skip to content

Commit

Permalink
🚀 initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonchalant committed Jun 12, 2018
0 parents commit ec30280
Show file tree
Hide file tree
Showing 52 changed files with 2,764 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitignore
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
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.1
5 changes: 5 additions & 0 deletions .travis.yml
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
32 changes: 32 additions & 0 deletions FactoryProvider.podspec
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
Loading

0 comments on commit ec30280

Please sign in to comment.