Added initial build script and configured project.json to publish appsettings.json and Views.

pull/81/head
Halil İbrahim Kalkan 9 years ago
parent df0b2ea19e
commit ac05e0cc3a

3
.gitignore vendored

@ -250,3 +250,6 @@ paket-files/
# JetBrains Rider
.idea/
*.sln.iml
# ABP
build/outputs

@ -0,0 +1,14 @@
$buildFolder = (Get-Item -Path ".\" -Verbose).FullName
$outputFolder = Join-Path $buildFolder "outputs"
$slnFolder = Join-Path $buildFolder "..\"
$abpDeskFolder = Join-Path $slnFolder "src/AbpDesk"
$abpDeskWebFolder = Join-Path $abpDeskFolder "AbpDesk.Web.Mvc"
Set-Location $slnFolder
dotnet restore
Set-Location $abpDeskWebFolder
dotnet publish --output (Join-Path $outputFolder "AbpDesk/Web")
Set-Location $buildFolder

@ -54,7 +54,10 @@
"publishOptions": {
"include": [
"wwwroot",
"web.config"
"Areas",
"Views",
"web.config",
"appsettings.json"
]
},

Loading…
Cancel
Save