mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
update nuget pipeline
update script
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
{
|
||||
"iisSettings": {
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:61369/",
|
||||
"sslPort": 0
|
||||
}
|
||||
}
|
||||
}
|
@ -15,7 +15,7 @@
|
||||
<environment include="Development">
|
||||
<link rel="stylesheet" href="~/lib/halfmoon/css/halfmoon-variables.css"/>
|
||||
<link rel="stylesheet" href="/css/src/main.css"/>
|
||||
<link rel="stylesheet" href="/css/open-iconic.css"/>
|
||||
<link rel="stylesheet" href="/css/open-iconic-bootstrap-override.css"/>
|
||||
</environment>
|
||||
<environment include="Production">
|
||||
<link rel="stylesheet" href="~/css/global.min.css?version=@ViewBag.Version"/>
|
||||
|
@ -33,19 +33,15 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="wwwroot\**\*.*" CopyToPublishDirectory="Never" />
|
||||
<Content Update="wwwroot\css\src\global.css" CopyToPublishDirectory="Never" />
|
||||
<Content Update="wwwroot\css\src\global.min.css" CopyToPublishDirectory="Never" />
|
||||
<Content Update="Views\*.*" CopyToPublishDirectory="Never" />
|
||||
<None Include="wwwroot\css\global.min.css" CopyToPublishDirectory="PreserveNewest" />
|
||||
<None Include="wwwroot\js\global.min.js" CopyToPublishDirectory="PreserveNewest" />
|
||||
<None Include="wwwroot\images\**\*.*" CopyToPublishDirectory="PreserveNewest" />
|
||||
<Content Remove="wwwroot\css\src\main.css.map" />
|
||||
<Content Remove="dotnet-bundle.runtimeconfig.json" />
|
||||
<Content Remove="dotnet-bundle.deps.json" />
|
||||
<None Remove="Properties\launchSettings.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BuildWebCompiler2022" Version="1.14.10" />
|
||||
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.ConcurrencyLimiter" Version="8.0.6" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.6" />
|
||||
@ -78,7 +74,4 @@
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<Exec Command="if $(ConfigurationName) == Debug ( 
powershell -Command wget https://raw.githubusercontent.com/iconic/open-iconic/master/font/css/open-iconic-bootstrap.scss -o $(ProjectDir)wwwroot\lib\open-iconic\font\css\open-iconic-bootstrap-override.scss
echo d | xcopy /f /y $(ProjectDir)wwwroot\lib\open-iconic\font\fonts $(ProjectDir)wwwroot\font\
powershell -Command "((Get-Content -path $(ProjectDir)wwwroot\lib\open-iconic\font\css\open-iconic-bootstrap-override.scss -Raw) -replace '../fonts/','/font/') | Set-Content -Path $(ProjectDir)wwwroot\lib\open-iconic\font\css\open-iconic-bootstrap-override.scss"
)" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
@ -3,9 +3,9 @@
|
||||
"outputFileName": "wwwroot/css/global.min.css",
|
||||
"inputFiles": [
|
||||
"wwwroot/lib/halfmoon/css/halfmoon-variables.min.css",
|
||||
"wwwroot/css/global.css",
|
||||
"wwwroot/lib/chart.js/dist/Chart.min.css",
|
||||
"wwwroot/css/open-iconic.css"
|
||||
"wwwroot/css/open-iconic-bootstrap-override.css",
|
||||
"wwwroot/css/main.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1,14 +0,0 @@
|
||||
[
|
||||
{
|
||||
"outputFile": "wwwroot/css/global.css",
|
||||
"inputFile": "wwwroot/css/src/main.scss"
|
||||
},
|
||||
{
|
||||
"outputFile": "wwwroot/css/src/profile.css",
|
||||
"inputFile": "wwwroot/css/src/profile.scss"
|
||||
},
|
||||
{
|
||||
"outputFile": "wwwroot/css/open-iconic.css",
|
||||
"inputFile": "wwwroot/lib/open-iconic/font/css/open-iconic-bootstrap-override.scss"
|
||||
}
|
||||
]
|
@ -1,49 +0,0 @@
|
||||
{
|
||||
"compilers": {
|
||||
"less": {
|
||||
"autoPrefix": "",
|
||||
"cssComb": "none",
|
||||
"ieCompat": true,
|
||||
"strictMath": false,
|
||||
"strictUnits": false,
|
||||
"relativeUrls": true,
|
||||
"rootPath": "",
|
||||
"sourceMapRoot": "",
|
||||
"sourceMapBasePath": "",
|
||||
"sourceMap": false
|
||||
},
|
||||
"sass": {
|
||||
"includePath": "",
|
||||
"indentType": "space",
|
||||
"indentWidth": 2,
|
||||
"outputStyle": "nested",
|
||||
"Precision": 5,
|
||||
"relativeUrls": true,
|
||||
"sourceMapRoot": "",
|
||||
"sourceMap": false
|
||||
},
|
||||
"stylus": {
|
||||
"sourceMap": false
|
||||
},
|
||||
"babel": {
|
||||
"sourceMap": false
|
||||
},
|
||||
"coffeescript": {
|
||||
"bare": false,
|
||||
"runtimeMode": "node",
|
||||
"sourceMap": false
|
||||
}
|
||||
},
|
||||
"minifiers": {
|
||||
"css": {
|
||||
"enabled": true,
|
||||
"termSemicolons": true,
|
||||
"gzip": false
|
||||
},
|
||||
"javascript": {
|
||||
"enabled": true,
|
||||
"termSemicolons": true,
|
||||
"gzip": false
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user