Add the delayed variable substitution #372
Replies: 2 comments
-
Well, the Before we add such a directive can you tell me about the use case? I've used a number of scaffolders (yeoman & Visual Studio new project wizards) and I can't remember any of them creating environment variables. |
Beta Was this translation helpful? Give feedback.
-
The way we could address this is with a new directive . Before we add such a directive can you tell me about the use case? In a work team, each team member can install one identical project into a different directory. Powershell -NOPROFILE -Command {."$env:MyProjetProfile\MyProject_Profile.Ps1";IPMO Psake; Set-Location $MyProjetTools; Invoke-Psake .\Common.ps1} } In my case, the scaffolding is different for the first person who create a Vcs repository and the others who clone/checkout the Vcs repository. Both Plaster manifests have common data (ex: projectName, ModuleName ...) |
Beta Was this translation helpful? Give feedback.
-
My goal is to create a plaster manifest template.
I try to prevent the substitution of a pattern variable in a template file :
the result :
I combine a templatefile element and a modify element :
This works.
But, if I want to edit multiple files I must duplicate the element Modify
Is it possible to add multiple processing for the Modify element and/or add the delayed variable substitution ?
Beta Was this translation helpful? Give feedback.
All reactions