Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow querying path in compilation rule #964
The following now behaves as expected:
compile '/**/*' do filter :relativize_paths, type: :html unless rep.path.nil? write item.identifier.without_ext + '.html' end
This happens because compilation is now done in three steps:
Previously, there were only two steps:
The rule memory depends on the paths, and so the extra step is necessary.