Skip to content

Commit

Permalink
πŸ’š respect OS of build machine
Browse files Browse the repository at this point in the history
  • Loading branch information
koeeenig committed Jan 15, 2024
1 parent 1d984f7 commit b1e1043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BlazeKit.Website/BlazeKit.Website.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
<Message Text="Copying files from $(SourceFolder) to $(DestinationFolder)" Importance="high" />
<Copy SourceFiles="@(FilesToCopy)" DestinationFolder="$([MSBuild]::EnsureTrailingSlash('$(DestinationFolder)'))%(RecursiveDir)"/>

<Exec Command="$(PublishDir)$(AssemblyName).$(OutputType) ssg" />
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="$(PublishDir)$(AssemblyName).$(OutputType) ssg" />
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="$(PublishDir)$(AssemblyName) ssg" />
</Target>
<Target Name="DeployToVercel" AfterTargets="SSG">
<Exec Command="echo Prepare Deployment for Vercel..." />
Expand Down

0 comments on commit b1e1043

Please sign in to comment.