Mercurial > piecrust2
comparison piecrust/plugins/builtin.py @ 885:13e8b50a2113
publish: Fix publishers API and add a simple "copy" publisher.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 20 Jun 2017 21:12:35 -0700 |
parents | 58ae026b4c31 |
children | 576f7ebcd9c0 |
comparison
equal
deleted
inserted
replaced
884:18b3e2acd069 | 885:13e8b50a2113 |
---|---|
150 PieCrust1Importer(), | 150 PieCrust1Importer(), |
151 JekyllImporter(), | 151 JekyllImporter(), |
152 WordpressXmlImporter()] | 152 WordpressXmlImporter()] |
153 | 153 |
154 def getPublishers(self): | 154 def getPublishers(self): |
155 from piecrust.publishing.copy import CopyPublisher | |
155 from piecrust.publishing.sftp import SftpPublisher | 156 from piecrust.publishing.sftp import SftpPublisher |
156 from piecrust.publishing.shell import ShellCommandPublisher | 157 from piecrust.publishing.shell import ShellCommandPublisher |
157 from piecrust.publishing.rsync import RsyncPublisher | 158 from piecrust.publishing.rsync import RsyncPublisher |
158 | 159 |
159 return [ | 160 return [ |
161 CopyPublisher, | |
160 ShellCommandPublisher, | 162 ShellCommandPublisher, |
161 SftpPublisher, | 163 SftpPublisher, |
162 RsyncPublisher] | 164 RsyncPublisher] |
163 | 165 |