diff options
| author | Nihad Abbasov <[email protected]> | 2013-05-09 17:05:59 +0500 |
|---|---|---|
| committer | Nihad Abbasov <[email protected]> | 2013-05-09 17:05:59 +0500 |
| commit | 9dd539bb157e40e78791d83a89f4727d4b10115d (patch) | |
| tree | 6e183bf6b734005dd39854ef5bb9c2d33ed549f5 /tasks/mrbgems.rake | |
| parent | 14bd8ceff3ee5e82f10b4cd5a9fe6f78d00bd3bd (diff) | |
| download | mruby-9dd539bb157e40e78791d83a89f4727d4b10115d.tar.gz mruby-9dd539bb157e40e78791d83a89f4727d4b10115d.zip | |
remove unused variables
Diffstat (limited to 'tasks/mrbgems.rake')
| -rw-r--r-- | tasks/mrbgems.rake | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tasks/mrbgems.rake b/tasks/mrbgems.rake index 43435cf0b..5f156c45a 100644 --- a/tasks/mrbgems.rake +++ b/tasks/mrbgems.rake @@ -1,12 +1,9 @@ MRuby.each_target do - current_dir = File.dirname(__FILE__).relative_path_from(Dir.pwd) - relative_from_root = File.dirname(__FILE__).relative_path_from(MRUBY_ROOT) - if enable_gems? # set up all gems gems.each(&:setup) gems.check - + # loader all gems self.libmruby << objfile("#{build_dir}/mrbgems/gem_init") file objfile("#{build_dir}/mrbgems/gem_init") => ["#{build_dir}/mrbgems/gem_init.c", "#{build_dir}/LEGAL"] @@ -75,7 +72,7 @@ Additional Licenses Due to the reason that you choosed additional mruby packages (GEMS), please check the following additional licenses too: GEMS_LEGAL - + gems.map do |g| f.puts f.puts "GEM: #{g.name}" |
