Skip to content

Commit

Permalink
Build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Sep 2, 2019
1 parent 5dda37d commit c94dc8d
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 90 deletions.
68 changes: 0 additions & 68 deletions Gruntfile.js

This file was deleted.

1 change: 0 additions & 1 deletion grunt - new release.bat

This file was deleted.

20 changes: 0 additions & 20 deletions package.json

This file was deleted.

2 changes: 2 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" src/Skybrud.UmbracoEssentials/Skybrud.UmbracoEssentials.csproj /t:rebuild /t:pack /p:Configuration=Release /p:PackageOutputPath=../../releases/nuget
26 changes: 26 additions & 0 deletions skybrud.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"tasks": {
"postBuild": [
{
"alias": "zip",
"destination": "releases/github/{packageName}.v{version}.zip",
"files": [
{
"source": "src/{packageName}/bin/Release/",
"destination": "bin/",
"patterns": [
"**/*.dll",
"**/*.xml"
]
},
{
"source": "src",
"patterns": [
"LICENSE.html"
]
}
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,17 @@

<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.15" />
<PackageReference Include="UmbracoCms.Core" Version="7.15.0" />
<PackageReference Include="UmbracoCms.Core" Version="7.15.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

<PropertyGroup>
<DocumentationFile>bin\$(ConfigurationName)\$(TargetFramework)\Skybrud.UmbracoEssentials.xml</DocumentationFile>
</PropertyGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)'=='Release'">
<Exec Command="&quot;$(ProjectDir)..\build\Skybrud.BuildTools.Tasks.exe&quot; &quot;postBuild&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectPath)&quot; &quot;$(TargetPath)&quot;" />
</Target>

</Project>
Binary file modified src/build/Newtonsoft.Json.dll
Binary file not shown.
Binary file added src/build/Skybrud.BuildTools.Tasks.exe
Binary file not shown.
Binary file added src/build/Skybrud.Essentials.dll
Binary file not shown.

0 comments on commit c94dc8d

Please sign in to comment.