community/ruby-concurrent-ruby: move rake compile to check()

This is needed to run tests, `gem install` doesn't use the binary
created by `rake compile`. :(
This commit is contained in:
Jakub Jirutka 2017-12-26 01:52:19 +01:00
parent 88270893fa
commit c546fe1dfc

View File

@ -26,7 +26,6 @@ build() {
gem build $_gemname.gemspec
rake compile
gem build $_gemname-ext.gemspec
RUBYLIB="$(pwd)/lib" gem install --local \
--install-dir dist \
@ -38,6 +37,8 @@ build() {
check() {
cd "$builddir"
rake compile
rspec --tag ~unfinished --tag ~buggy --tag ~edge spec
}