Skip to content

Commit

Permalink
chore: Moving Irregular.PSSVG into /Build ( Fixes #209 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Apr 16, 2024
1 parent 279a9d9 commit 736f4fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Irregular.PSSVG.ps1 → Build/Irregular.PSSVG.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#requires -Module PSSVG


Push-Location ($PSScriptRoot | Split-Path)

$psChevron =
=<svg.symbol> -Id psChevron -Content @(
=<svg.polygon> -Points (@(
Expand All @@ -13,7 +16,7 @@ $psChevron =
) -ViewBox 100, 100 -PreserveAspectRatio $false


$assetsPath = Join-Path $PSScriptRoot assets
$assetsPath = Join-Path $pwd assets

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


Pop-Location

0 comments on commit 736f4fd

Please sign in to comment.