[PATCH 0/3] Build and test Ruby bindings

Subject: [PATCH 0/3] Build and test Ruby bindings

Date: Fri, 23 May 2014 05:34:24 -0500

To: notmuch@notmuchmail.org

Cc: Ali Polatel

From: Felipe Contreras


This patch series adds simple tests for the Ruby bindings, which don't really
make sense to add unless we build the bindings by default, so I added support for that.

Unfortunately the pkg-config files for Ruby are specific to each major version,
so we have to check for Ruby 2.1, 2.0, 1.9, etc. For now I'm checking only for
Ruby 2.1, but more versions can be added later if demanded. Since this support
wasn't there before nothing will be broken if we don't build on say, Ruby 2.0.


Felipe Contreras (3):
  build: don't add sub Makefiles to the global deps
  build: add support to build Ruby bindings
  test: add tests for Ruby bindings

 Makefile                     |  2 +-
 bindings/ruby/Makefile.local | 21 ++++++++++
 bindings/ruby/extconf.rb     | 14 +------
 configure                    | 21 ++++++++++
 test/T540-ruby.sh            | 98 ++++++++++++++++++++++++++++++++++++++++++++
 test/test-lib.sh             |  1 +
 6 files changed, 144 insertions(+), 13 deletions(-)
 create mode 100644 bindings/ruby/Makefile.local
 create mode 100755 test/T540-ruby.sh

-- 
1.9.3+fc1~5~gfaddd51


Thread: