We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Summarise the bug in a single line.)
Create a site
echo stuff > content/z.dat
echo lol > content/a.dat
Add this to content/index.html:
content/index.html
<%= @items.find_all('/**/*.dat').map { |i| File.size(i.reps[:default].raw_path) }.join('-') %>
Delete stylesheets and layouts
Replace rules with
compile '/**/*.html' do filter :erb write item.identifier end passthrough '/*.dat'
Compile site
output/index.html gets the content 3-6.
output/index.html
3-6
Crash:
Captain! We’ve been hit! Message: Errno::ENOENT: No such file or directory @ rb_file_s_size - output/z.dat
The text was updated successfully, but these errors were encountered:
Merge pull request #1099 from nanoc/gh-1097
e3c883d
Let #raw_path require rep to be compiled
No branches or pull requests
(Summarise the bug in a single line.)
Steps to reproduce
Create a site
echo stuff > content/z.dat
echo lol > content/a.dat
Add this to
content/index.html
:Delete stylesheets and layouts
Replace rules with
Compile site
Expected behavior
output/index.html
gets the content3-6
.Actual behavior
Crash:
The text was updated successfully, but these errors were encountered: