Skip to content
New issue

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

Cannot use #write more than once #1037

Closed
ddfreyne opened this issue Dec 24, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@ddfreyne
Copy link
Member

commented Dec 24, 2016

A rule such as

compile '/giraffe.*' do
  write '/giraffe.txt'
  write '/giraffe.md'
end

will always result in an error saying that there cannot be more than one :last snapshot.

@ddfreyne ddfreyne added this to the 4.4.5 milestone Dec 24, 2016

ddfreyne added a commit that referenced this issue Dec 24, 2016

Merge pull request #1038 from nanoc/gh-1037-write-twice
Allow calling #write more than once

ddfreyne added a commit that referenced this issue Dec 24, 2016

Revert "Merge pull request #1038 from nanoc/gh-1037-write-twice"
This reverts commit df42173, reversing
changes made to 49e27f1.

This is causing other problems elsewhere.
@ddfreyne

This comment has been minimized.

Copy link
Member Author

commented Dec 24, 2016

Reopening as #1038 was reverted (causing problems elsewhere too).

@ddfreyne ddfreyne reopened this Dec 24, 2016

@ddfreyne ddfreyne removed this from the 4.4.5 milestone Jan 3, 2017

@ddfreyne ddfreyne referenced this issue Feb 17, 2017

Merged

Allow calling #write twice #1085

5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.