diff options
| author | Masaki Muranaka <[email protected]> | 2013-03-07 16:02:20 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-07 16:02:20 +0900 |
| commit | a0102317b448f3bb8c69019fe9732f9d9f07f087 (patch) | |
| tree | bd9eb34e005fcf53b83821b75da744c40c53eb9f | |
| parent | cb2ad2c439faa832a6b3a51e8933ec00047e2edf (diff) | |
| download | mruby-a0102317b448f3bb8c69019fe9732f9d9f07f087.tar.gz mruby-a0102317b448f3bb8c69019fe9732f9d9f07f087.zip | |
Apply @masuidrive's review point. @bins should be Array.
| -rw-r--r-- | tasks/mrbgem_spec.rake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 6a8eafcae..649f99d0e 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -29,7 +29,6 @@ module MRuby attr_accessor :test_preload attr_accessor :bins - alias :bin= :bins= attr_block MRuby::Build::COMMANDS @@ -81,6 +80,10 @@ module MRuby define_gem_init_builder end + def self.bin=(bin) + @bins = [bin].flatten + end + def build_dir "#{build.build_dir}/mrbgems/#{name}" end |
