mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
01a8edea35
Tests for (`Float` or `Integer`) `op` `Complex`. Also added test dependency to `mruby-rational` since `int_div` definition relies on `Rational` when `MRB_USE_RATIONAL` is defined.
9 lines
295 B
Ruby
9 lines
295 B
Ruby
MRuby::Gem::Specification.new('mruby-complex') do |spec|
|
|
spec.license = 'MIT'
|
|
spec.author = 'mruby developers'
|
|
spec.summary = 'Complex class'
|
|
spec.build.defines << "MRB_USE_COMPLEX"
|
|
spec.add_dependency 'mruby-math', core: 'mruby-math'
|
|
spec.add_test_dependency('mruby-rational')
|
|
end
|