Skip to content

Commit

Permalink
Read podspec version from VERSION file (libusb#205)
Browse files Browse the repository at this point in the history
* Read podspec version from VERSION file
* Add AppKit dependency into podspec
  • Loading branch information
vitalys authored Oct 26, 2020
1 parent 302d1f2 commit 8ed3685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/hidapi.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|

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

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

spec.public_header_files = "hidapi/hidapi.h"

spec.frameworks = "IOKit", "CoreFoundation"
spec.frameworks = "IOKit", "CoreFoundation", "AppKit"

end

0 comments on commit 8ed3685

Please sign in to comment.