unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Build and test Ruby bindings
@ 2014-05-23 10:34 Felipe Contreras
  2014-05-23 10:34 ` [PATCH 1/3] build: don't add sub Makefiles to the global deps Felipe Contreras
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Felipe Contreras @ 2014-05-23 10:34 UTC (permalink / raw)
  To: notmuch; +Cc: Ali Polatel

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-07-13 14:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 10:34 [PATCH 0/3] Build and test Ruby bindings Felipe Contreras
2014-05-23 10:34 ` [PATCH 1/3] build: don't add sub Makefiles to the global deps Felipe Contreras
2014-05-25  7:58   ` Jani Nikula
2014-05-25  7:53     ` Felipe Contreras
2014-05-25  9:17       ` Jani Nikula
2014-05-25 15:47         ` Felipe Contreras
2014-05-25 17:01           ` Jani Nikula
2014-05-23 10:34 ` [PATCH 2/3] build: add support to build Ruby bindings Felipe Contreras
2014-05-23 15:04   ` Wael Nasreddine
2014-07-13 14:28   ` David Bremner
2014-05-23 10:34 ` [PATCH 3/3] test: add tests for " Felipe Contreras
2014-07-13 13:11   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).