Skip to content

Commit

Permalink
Link libiio tools into bin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rgov committed Nov 22, 2020
1 parent dea9c3e commit c634aa0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libiio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ def install
system "make"
system "make", "install"
end

Dir.glob("#{frameworks}/iio.framework/Tools/*").each do |exec|
bin.install_symlink exec if File.executable?(exec)
end
end

test do
system "#{frameworks}/iio.framework/Tools/iio_info", "--help"
system "#{bin}/iio_info", "--help"
end
end

0 comments on commit c634aa0

Please sign in to comment.