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

Make Site.copy support multiple destinations #429

Open
wants to merge 4 commits into
base: v1
Choose a base branch
from

Conversation

not-my-profile
Copy link
Contributor

Fixes #428.

@not-my-profile not-my-profile changed the title Copy multiple destinations Make Site.copy support multiple destinations Jun 5, 2023
Site.copy previously didn't support multiple destinations:

   site.copy("foo", "bar1")
   site.copy("foo", "bar2")

Previously resulted in `foo` being only copied once to `bar2`.

   site.copy("static")
   site.copy("static/foo", "bar")

Previously didn't copy `static/foo` to `bar`.

This commit fixes both of these bugs. Fixes lumeland#428.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot copy one file to multiple destinations
1 participant