summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-11-29 18:33:47 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-11-29 18:33:47 +0900
commite5acac454eb5098eb800f0feaacd7d9bbb09084f (patch)
tree6840e9004e17602903bd4345803409e5d04583d3
parentf6ab136f6cc823428b3b512f4178ec9a7b10e433 (diff)
downloadpsych-fix-jruby-build-task.tar.gz
move to toplevelfix-jruby-build-task
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 947abf5..e110e6b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,5 @@
$LOAD_PATH.unshift './lib'
+load 'psych/versions.rb'
require "bundler/gem_tasks"
require "rake/testtask"
@@ -16,7 +17,6 @@ if RUBY_PLATFORM =~ /java/
# and tell maven via system properties the snakeyaml version
# this is basically the same as running from the commandline:
# rmvn dependency:build-classpath -Dsnakeyaml.version='use version from Psych::DEFAULT_SNAKEYAML_VERSION here'
- load 'psych/versions.rb'
Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=#{Psych::DEFAULT_SNAKEYAML_VERSION}", '-Dverbose=true')
ext.source_version = '1.7'
ext.target_version = '1.7'