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 16, 2020
1 parent 4f62724 commit a83e2b8
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 a83e2b8

Please sign in to comment.