Skip to content

Commit

Permalink
Merge pull request #19 from moreonion/update
Browse files Browse the repository at this point in the history
Fixups
  • Loading branch information
torotil authored Aug 16, 2024
2 parents 46d8af5 + 9555a94 commit 9c0de59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drupy/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def build(self):
"""Create symlinks in the profiles folder."""
if self.profile not in ("minimal", "standard", "testing"):
links = {self.profile: self.source}
self.runner.projectSymlinks(self.target, links, 1)
self.runner.project_symlinks(self.target, links, 1)


class SiteBuildTarget(resolver.SiteTarget):
Expand Down Expand Up @@ -272,7 +272,7 @@ def dependencies(self):

def build(self):
"""Copy the built Drupal tree using rsync."""
rsync = self.runner.rsyncDirs
rsync = self.runner.rsync_dirs
protected = self.options.core_config["protected"]
# Sync core but keep sites and profile symlinks.
profiles = self.runner.config.config["core"]["profiles"]
Expand All @@ -287,6 +287,6 @@ def build(self):
self.source + "/sites",
self.target + "/sites",
["*/"] + protected_in_sites,
onlyNonExisting=True,
only_non_existing=True,
)
rsync(self.source + "/sites/default", self.target + "/sites/default")

0 comments on commit 9c0de59

Please sign in to comment.