From c1aeeb47588849599c39aba25faf8fc0d37dfff9 Mon Sep 17 00:00:00 2001 From: Yuta Koshizawa Date: Mon, 23 May 2016 19:06:08 +0900 Subject: [PATCH 1/3] Support CocoaPods --- TensorSwift.podspec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 TensorSwift.podspec diff --git a/TensorSwift.podspec b/TensorSwift.podspec new file mode 100644 index 0000000..99b1d6a --- /dev/null +++ b/TensorSwift.podspec @@ -0,0 +1,15 @@ +Pod::Spec.new do |s| + s.name = "TensorSwift" + s.version = "0.1.0" + s.summary = "TensorSwift is a lightweight library to calculate tensors, which has similar APIs to TensorFlow's." + s.homepage = "https://github.com/qoncept/TensorSwift" + s.license = { :type => "MIT", :file => "LICENSE" } + s.authors = { "Yuta Koshizawa" => "koshizawa@qoncept.co.jp", "Araki Takehiro" => "araki@qoncept.co.jp" } + + 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 = { :git => "https://github.com/qoncept/TensorSwift.git", :tag => "#{s.version}" } + s.source_files = "TensorSwift/*.swift" +end From 833f5101b785413753d61dd8a22c1420b1f43ec7 Mon Sep 17 00:00:00 2001 From: Yuta Koshizawa Date: Mon, 23 May 2016 19:46:45 +0900 Subject: [PATCH 2/3] Add the CocoaPods subsection to the Installation section in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 56dcda7..e0c3517 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,12 @@ public struct Classifier { ## Instration +### CocoaPods + +``` +pod 'TensorSwift', '~> 0.1' +``` + ### Carthage ``` From c5a6eaa4f8a5c39fd2ca46564402695b3f1bc2fe Mon Sep 17 00:00:00 2001 From: Yuta Koshizawa Date: Wed, 25 May 2016 12:24:47 +0900 Subject: [PATCH 3/3] Update the library version in README to 0.1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0c3517..7aa454a 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ pod 'TensorSwift', '~> 0.1' ### Carthage ``` -github "qoncept/TensorSwift" "master" +github "qoncept/TensorSwift" ~> 0.1 ``` ## License