Skip to content

Commit

Permalink
Load dbm and pstore to let rake validate run for YAML.
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosCodes committed Nov 25, 2020
1 parent bae9613 commit 255a544
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ task :validate => :parser do
lib << "bigdecimal"
end

if lib == ["yaml"]
lib << "dbm"
lib << "pstore"
end

sh "#{ruby} #{rbs} #{lib.map {|l| "-r #{l}"}.join(" ")} validate --silent"
end
end
Expand Down

0 comments on commit 255a544

Please sign in to comment.