Skip to content

Commit 8ed3685

Browse files
authored
Read podspec version from VERSION file (#205)
* Read podspec version from VERSION file * Add AppKit dependency into podspec
1 parent 302d1f2 commit 8ed3685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/hidapi.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = "hidapi"
4-
spec.version = "<fill me up from VERSION file, before submit>"
4+
spec.version = File.read('../VERSION')
55
spec.summary = "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows."
66

77
spec.description = <<-DESC
@@ -26,6 +26,6 @@ Pod::Spec.new do |spec|
2626

2727
spec.public_header_files = "hidapi/hidapi.h"
2828

29-
spec.frameworks = "IOKit", "CoreFoundation"
29+
spec.frameworks = "IOKit", "CoreFoundation", "AppKit"
3030

3131
end

0 commit comments

Comments
 (0)