summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2014-04-06 11:58:57 +0900
committerMasaki Muranaka <[email protected]>2014-04-06 11:58:57 +0900
commita54176d4a74f6da622f14cbff949c020d01e20c8 (patch)
tree653932d29b12d11430dd43ff2388e26cdd396d40 /tasks
parentd2451dfb1660c219e7ba7bc2ae4ee859040b8d84 (diff)
downloadmruby-a54176d4a74f6da622f14cbff949c020d01e20c8.tar.gz
mruby-a54176d4a74f6da622f14cbff949c020d01e20c8.zip
Pass gem's version information to compilers.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mrbgem_spec.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake
index 70c44ed5e..f57c5d479 100644
--- a/tasks/mrbgem_spec.rake
+++ b/tasks/mrbgem_spec.rake
@@ -82,6 +82,7 @@ module MRuby
compilers.each do |compiler|
compiler.define_rules build_dir, "#{dir}"
+ compiler.defines << %Q[MRBGEM_#{funcname.upcase}_VERSION=#{version}]
end
define_gem_init_builder