-
Notifications
You must be signed in to change notification settings - Fork 32
Configuring export directories #30
Comments
@Webslung tough to see what exactly you need to do, but generally when I'm creating integrations like this, I'll use Grunt or Gulp to copy over the appropriate files to the appropriate places in my build. So something like:
And so on. When I call the command I don't know if that's generally what you're trying to accomplish. |
@Webslung I take it you are talking about the I'm not 100 % sure about this, but I don't think there is a way to customize existing commands (other than using a plugin, but there are no plugin events for the export). I don't think there is a supported way to add new commands either. So currently something like what @bradfrost suggested would probably be the best way to do something other than what the default export command does. However, this might change in the (hopefully near) future, as we are planning to refactor PL PHP core to use Symfony's Console component and also make it possible to provide custom PL commands. |
@aleksip and @bradfrost your answers are what I was looking for. A set of gulp tasks was my fallback plan if something more integrated couldn't be used. I was looking to do something that built off of the core if possible, but gulp or some other task runner will do the trick. Thanks for the responses. Love PL! |
Hoping this is the appropriate place to ask this question. Apologies if it isn't.
I'm looking to use the clean export function within PL to get a directory structure exported of my twig files that matches what's in the source directory. Ideally, this would include:
In our shop we use a WordPress framework that makes use of twig files to build our templates with an MVC setup.
I can copy and paste or setup a deploy of some sort to dump out, but the export feature seems to be the more "tool centric" way to go. Is it extensible at all? Could I customize that in some way? Thanks and I'll hang up and listen. :-)
P.S. @dmolsen said to post here and maybe @aleksip or @EvanLovely could help me out. Thanks!
The text was updated successfully, but these errors were encountered: