Skip to content

Commit

Permalink
Fix bug where paths with spaces cause errors on build (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pxtl authored Nov 13, 2024
1 parent 73561e8 commit 9661b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions T4.Build/build/common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<T4Build_TransformOptions Include="--skip-up-to-date" Condition=" '$(TextTemplateTransformSkipUpToDate)' == 'true' " />
<T4Build_TransformOptions Include="--parallel" Condition=" '$(TextTemplateTransformParallel)' == 'true' " />
</ItemGroup>
<Exec Command="$(T4Build_Command) transform @(T4Build_TransformOptions, ' ') @(T4Build_TransformFiles, ' ')" Condition=" '@(T4Build_TransformFiles)' != '' " ConsoleToMSBuild="true" StandardOutputImportance="normal">
<Exec Command="$(T4Build_Command) transform @(T4Build_TransformOptions, ' ') @(T4Build_TransformFiles->'&quot;%(Identity)&quot;', ' ')" Condition=" '@(T4Build_TransformFiles)' != '' " ConsoleToMSBuild="true" StandardOutputImportance="normal">
<Output TaskParameter="ConsoleOutput" ItemName="T4Build_GeneratedFiles" />
</Exec>
<ItemGroup>
Expand All @@ -46,7 +46,7 @@
</Target>

<Target Name="TextTemplateClean" DependsOnTargets="TextTemplateCreateTransformList">
<Exec Command="$(T4Build_Command) clean @(T4Build_TransformFiles, ' ')" Condition=" '@(T4Build_TransformFiles)' != '' " ConsoleToMSBuild="true" StandardOutputImportance="normal" />
<Exec Command="$(T4Build_Command) clean @(T4Build_TransformFiles->'&quot;%(Identity)&quot;', ' ')" Condition=" '@(T4Build_TransformFiles)' != '' " ConsoleToMSBuild="true" StandardOutputImportance="normal" />
</Target>

</Project>

0 comments on commit 9661b1f

Please sign in to comment.