override the font library file name

This commit is contained in:
RaidMax 2022-04-20 10:22:41 -05:00
parent 62ec18309e
commit 2f10ca8599
2 changed files with 3 additions and 3 deletions

View File

@ -53,9 +53,9 @@ steps:
script: |
Write-Host 'Build Configuration is $(buildConfiguration), Release Type is $(releaseType)'
md -Force lib\open-iconic\font\css
wget https://raw.githubusercontent.com/iconic/open-iconic/master/font/css/open-iconic-bootstrap.scss -o lib\open-iconic\font\css\open-iconic-bootstrap.scss
wget https://raw.githubusercontent.com/iconic/open-iconic/master/font/css/open-iconic-bootstrap.scss -o lib\open-iconic\font\css\open-iconic-bootstrap-override.scss
cd lib\open-iconic\font\css
(Get-Content open-iconic-bootstrap.scss).replace('../fonts/', '/fonts/') | Set-Content open-iconic-bootstrap.scss
(Get-Content open-iconic-bootstrap-override.scss).replace('../fonts/', '/fonts/') | Set-Content open-iconic-bootstrap-override.scss
failOnStderr: true
workingDirectory: '$(Build.Repository.LocalPath)\WebfrontCore\wwwroot'

View File

@ -9,6 +9,6 @@
},
{
"outputFile": "wwwroot/css/open-iconic.css",
"inputFile": "wwwroot/lib/open-iconic/font/css/open-iconic-bootstrap.scss"
"inputFile": "wwwroot/lib/open-iconic/font/css/open-iconic-bootstrap-override.scss"
}
]