Skip to content

Commit e3861a1

Browse files
authored
Minor podspec improvements (react-native-audio-toolkit#206)
1 parent 220b7fe commit e3861a1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ReactNativeAudioToolkit.podspec

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
require "json"
22

3-
Pod::Spec.new do |s|
4-
# NPM package specification
5-
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
3+
# NPM package specification
4+
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), "package.json")))
65

6+
Pod::Spec.new do |s|
77
s.name = "ReactNativeAudioToolkit"
88
s.version = package["version"]
99
s.summary = package["description"]
1010
s.homepage = package["homepage"]
1111
s.license = "MIT"
1212
s.author = { "Rasmus Eskola" => "fruitiex@gmail.com" }
1313
s.platforms = { :ios => "9.0", :tvos => "9.0" }
14-
s.source = { :git => package["repository"]["url"], :tag => "#{s.version}" }
14+
s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
1515
s.source_files = "ios/**/*.{h,m}"
1616

1717
s.dependency "React"
18-
1918
end

0 commit comments

Comments
 (0)