Skip to content

Commit 736f4fd

Browse files
author
James Brundage
committed
chore: Moving Irregular.PSSVG into /Build ( Fixes #209 )
1 parent 279a9d9 commit 736f4fd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#requires -Module PSSVG
22

3+
4+
Push-Location ($PSScriptRoot | Split-Path)
5+
36
$psChevron =
47
=<svg.symbol> -Id psChevron -Content @(
58
=<svg.polygon> -Points (@(
@@ -13,7 +16,7 @@ $psChevron =
1316
) -ViewBox 100, 100 -PreserveAspectRatio $false
1417

1518

16-
$assetsPath = Join-Path $PSScriptRoot assets
19+
$assetsPath = Join-Path $pwd assets
1720

1821
=<svg> -ViewBox 300, 100 @(
1922
$psChevron
@@ -26,3 +29,5 @@ $assetsPath = Join-Path $PSScriptRoot assets
2629
) -FontFamily 'sans-serif' -Fill '#4488ff' -FontSize 36
2730
) -OutputPath (Join-Path $assetsPath Irregular.svg)
2831

32+
33+
Pop-Location

0 commit comments

Comments
 (0)