Skip to content

Commit

Permalink
Build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Jul 13, 2019
1 parent 6cf985b commit b0be088
Show file tree
Hide file tree
Showing 11 changed files with 188 additions and 139 deletions.
85 changes: 0 additions & 85 deletions Gruntfile.js

This file was deleted.

21 changes: 0 additions & 21 deletions package.json

This file was deleted.

5 changes: 1 addition & 4 deletions release.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
@echo off
cd src/Skybrud.Umbraco.GridData
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\msbuild.exe" /t:pack /p:Configuration=Release /p:PackageOutputPath=../../releases/nuget
cd ../../
grunt
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" "src/Skybrud.Umbraco.GridData" /t:rebuild /p:Configuration=Release
61 changes: 61 additions & 0 deletions skybrud.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"tasks": {
"postBuild": [
{
"alias": "zip",
"destination": "releases/github/{packageName}.v{version}.zip",
"files": [
{
"source": "src/{packageName}/bin/Release/net472",
"destination": "bin/net472/",
"patterns": [
"Skybrud.Essentials.dll",
"Skybrud.Essentials.xml",
"{packageName}.dll",
"{packageName}.xml"
]
},
{
"source": "src",
"patterns": [
"LICENSE.html"
]
}
]
},
{
"alias": "umbraco__",
"destination": "releases/umbraco/{packageName}.v{version}.zip",
"info": {
"name": "{packageName}",
"version": "{version}",
"url": "{projectUrl}",
"license": "{license}",
"licenseUrl": "{licenseUrl}",
"readme": "{description}",
"requirements": "8.0.0",
"author": {
"name": "{company}",
"url": "https://www.skybrud.dk/"
},
"contributors": [
"Anders Bjerner",
"René Pjengaard"
]
},
"files": [
{
"source": "src/{packageName}/bin/Release/net472",
"destination": "bin/",
"patterns": [
"Skybrud.Essentials.dll",
"Skybrud.Essentials.xml",
"{packageName}.dll",
"{packageName}.xml"
]
}
]
}
]
}
}
118 changes: 118 additions & 0 deletions src/LICENSE.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Skybrud.Umbraco.GridData</title>
<style>
body {
font: 16px/1.4em Arial, sans-serif;
background: #f1f1f1;
color: #333;
margin: 0;
}
h1 {
font-size: 30px;
line-height: 1.1em;
font-weight: normal;
}
h2 {
font-size: 24px;
line-height: 1.1em;
font-weight: normal;
}
.wrapper {
width: 650px;
margin: 0 auto;
padding: 40px 0;
position: relative;
}
.skybrudLogo a {
background: black url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAzCAYAAAD/06q7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xI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wT1ohMgDPlsbKR07l5UzwaUzt3gVWQ9Oqmth6+hsX8IE19xDPpLp3RDgTER0fDFXoDU0NBixZBLUW+h1MbmmxneBcfYOBhfASvYPg2Xq3hWshcIzzNAb0FZmKgj5IAe0A4VguRpLAa9Ad5AGHoEWDjqekRnyg8ncGUlBfO4CroP9YLO6/hSs5XbdAxaBD5FYsllgOMjn7pBdkqLuWcOXDwjy/G7QjOMXIxVDN8BUMBi0B6VgpLpnCcjhtRmBKw6KwJ1IBXUckFTuYz8etAqYej/7k8Blvrw0WrssjnGhi6vH4CzbEjsVbN8HC7nrSgMy/dtIORST51BMmSzZUtWvBzfBXfZHq3z0lct2VY09U9k9iaXHASZWewNIAfQcnPeQbqwZktO1mnxm/HTm+HTQjWPi7D4wVo3pfxqtwWq2O/EUl+dquEtPeZ2hLzyDbJNzqS2/3uDOOsF2GkgF5zxoVyrdI9ytnhySMmEb+01BHXio7sngl8q9w9xKXhcTzU9eHapTMyD97ZyJe7w2mEszFCx2qIE87WivDtWrQLXrlS7KIclhp7l0OtdJbCSrfrJLLpOxJl4dSlBrLUvWh+lA21cG8S2VKmSmDoGe/KhRdF4n5Xy+YyBn3tPB2DXg2gsGusHgrlXbtQ1/3/G3A4PcZD1doT6so9K0d/H/kzoiDlUrKpks01UJW82KQKqA2yxxm0fTIXnZIzAXrAODwDz1z6ElHTjFlCDB/THaS/aSZ9FxFZTa5C/yEDCGeemvx9BIFm/9YiWos1i4beUSRt2hvsxnm9h/HeT/93yeOxujXQ8VsG3X0uu5u+wS1uBBeZl/ElOZCqqi4dD/g/GfrKlz/uD7TniJoT8ZRL5/bsm+CzAA4ePgKOYIZ8oAAAAASUVORK5CYII=)
0 -18px no-repeat;
position: absolute;
top: 0;
right: 0;
width: 27px;
height: 32px;
border: 20px solid #000;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
ul li {
margin-bottom: 8px;
}
ul a {
margin-left: 25px;
position: relative;
}
ul a:before {
content: "";
position: absolute;
top: 0;
left: -25px;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zbEjsVbN8HC7nrSgMy/dtIORST51BMmSzZUtWvBzfBXfZHq3z0lct2VY09U9k9iaXHASZWewNIAfQcnPeQbqwZktO1mnxm/HTm+HTQjWPi7D4wVo3pfxqtwWq2O/EUl+dquEtPeZ2hLzyDbJNzqS2/3uDOOsF2GkgF5zxoVyrdI9ytnhySMmEb+01BHXio7sngl8q9w9xKXhcTzU9eHapTMyD97ZyJe7w2mEszFCx2qIE87WivDtWrQLXrlS7KIclhp7l0OtdJbCSrfrJLLpOxJl4dSlBrLUvWh+lA21cG8S2VKmSmDoGe/KhRdF4n5Xy+YyBn3tPB2DXg2gsGusHgrlXbtQ1/3/G3A4PcZD1doT6so9K0d/H/kzoiDlUrKpks01UJW82KQKqA2yxxm0fTIXnZIzAXrAODwDz1z6ElHTjFlCDB/THaS/aSZ9FxFZTa5C/yEDCGeemvx9BIFm/9YiWos1i4beUSRt2hvsxnm9h/HeT/93yeOxujXQ8VsG3X0uu5u+wS1uBBeZl/ElOZCqqi4dD/g/GfrKlz/uD7TniJoT8ZRL5/bsm+CzAA4ePgKOYIZ8oAAAAASUVORK5CYII=);
background-position: -18px 0;
}
a {
color: #333;
text-decoration: none;
border-bottom: 1px solid #000000;
border-bottom: 1px solid rgba(0,0,0,0.3);
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-o-transition: all 300ms ease;
-ms-transition: all 300ms ease;
transition: all 300ms ease;
}

a:hover {
color: #36b7e6;
}
</style>
</head>
<body>
<div class="wrapper">
<h1>Skybrud.Umbraco.GridData</h1>
<h2>The MIT License (MIT)</h2>
<div class="skybrudLogo"><a href="http://www.skybrud.dk/" target="_blank"></a></div>
<p>
Copyright &copy; 2019 Skybrud.dk
</p>
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
</p>
<p>
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
</p>
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
</p>
<ul>
<li>
<a href="https://github.com/skybrud/Skybrud.Umbraco.GridData" target="_blank">See project on <strong>GitHub</strong></a>
</li>
<li>
<a href="https://www.nuget.org/packages/Skybrud.Umbraco.GridData/" target="_blank">Download from <strong>NuGet</strong></a>
</li>
</ul>
</div>
</body>
</html>
10 changes: 0 additions & 10 deletions src/Skybrud.Umbraco.GridData/Properties/AssemblyInfo.json

This file was deleted.

11 changes: 8 additions & 3 deletions src/Skybrud.Umbraco.GridData/Skybrud.Umbraco.GridData.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472</TargetFrameworks>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -36,8 +36,13 @@
</PackageReference>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="&quot;$(ProjectDir)..\build\UpdateAssemblyInfoJson.exe&quot; &quot;$(ProjectPath)&quot; &quot;$(TargetPath)&quot;" />
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>../../releases/nuget/</PackageOutputPath>
</PropertyGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)'=='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>
16 changes: 0 additions & 16 deletions src/Skybrud.Umbraco.GridData/Skybrud.Umbraco.GridData.nuspec

This file was deleted.

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 b0be088

Please sign in to comment.