Add unf_ext configuration to omnibus to allow building against our (#2854)

Add unf_ext configuration to omnibus to allow building against our forked unf_ext.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2018-03-21 10:17:34 -07:00 committed by Jared Quick
parent a32a85eae5
commit c3c2e8d244
2 changed files with 23 additions and 0 deletions

View file

@ -24,6 +24,7 @@ dependency 'rubygems'
dependency 'bundler'
dependency 'rb-readline'
dependency 'appbundler'
dependency 'unf_ext'
license :project_license

View file

@ -0,0 +1,22 @@
# encoding: utf-8
# override for unf_ext until
# https://github.com/knu/ruby-unf_ext/pull/39
# is merged and released
name 'unf_ext'
dependency 'ruby'
dependency 'rubygems'
dependency 'bundler'
dependency 'appbundler'
license :project_license
default_version 'b5a0ee7725cb7d3cb8e068c8cab0f8627b2b1225'
source git: 'https://github.com/jquick/ruby-unf_ext.git'
build do
env = with_standard_compiler_flags(with_embedded_path)
delete "#{name}-*.gem"
gem "build #{name}.gemspec", env: env
gem "install #{name}-*.gem --no-document", env: env
end