Skip to content

Commit

Permalink
Fix path case under Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pauby committed Feb 16, 2020
1 parent aa691a2 commit 69b9cfe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pstodotxt.build.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Import-Module PowerShellBuild -force
. PowerShellBuild.IB.Tasks

$PSBPreference.Build.OutDir =
Join-Path -Path $PSBPreference.General.ProjectRoot -ChildPath "output"
$PSBPreference.Build.ModuleOutDir =
Join-Path `
-Path $PSBPreference.Build.OutDir `
-ChildPath ("{0}{1}{2}" -f
$PSBPreference.General.ModuleName,
[IO.Path]::DirectorySeparatorChar,
$PSBPreference.General.ModuleVersion)
$PSBPreference.Build.CompileModule = $true
$PSBPreference.Build.CompileHeader = "Set-StrictMode -Version Latest`n"
$PSBPreference.Build.CompileScriptFooter = "`n"
Expand Down

0 comments on commit 69b9cfe

Please sign in to comment.