From 2f10ca859988ce350da80112ef48d7a226a522c7 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 20 Apr 2022 10:22:41 -0500 Subject: [PATCH] override the font library file name --- DeploymentFiles/deployment-pipeline.yml | 4 ++-- WebfrontCore/compilerconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DeploymentFiles/deployment-pipeline.yml b/DeploymentFiles/deployment-pipeline.yml index b85ea1ef8..77891b28c 100644 --- a/DeploymentFiles/deployment-pipeline.yml +++ b/DeploymentFiles/deployment-pipeline.yml @@ -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' diff --git a/WebfrontCore/compilerconfig.json b/WebfrontCore/compilerconfig.json index 3f7a0f36f..63588138a 100644 --- a/WebfrontCore/compilerconfig.json +++ b/WebfrontCore/compilerconfig.json @@ -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" } ]