summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2018-09-19 11:24:28 -0500
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-09-28 10:27:35 +0900
commit79f927154da3dbbc30ce21a190b93463e5f0c205 (patch)
tree83be8725e545028f83b8bdd53be4ac7fccd2d111
parentc3c39bb7150fb548bf8f1837263d8c073e1a8cb8 (diff)
downloadpsych-79f927154da3dbbc30ce21a190b93463e5f0c205.tar.gz
Force loading of ./lib/psych/versions.rb to get updated consts.
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 8c9ec91..be779e8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,6 +14,8 @@ if RUBY_PLATFORM =~ /java/
require 'rake/javaextensiontask'
Rake::JavaExtensionTask.new("psych") do |ext|
require 'maven/ruby/maven'
+ # force load of versions to overwrite constants with values from repo.
+ load './lib/psych/versions.rb'
# uses Mavenfile to write classpath into pkg/classpath
# and tell maven via system properties the snakeyaml version
# this is basically the same as running from the commandline: