Skip to content

Commit

Permalink
Build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Mar 15, 2021
1 parent c4d8bd9 commit cf0640c
Show file tree
Hide file tree
Showing 8 changed files with 196 additions and 1 deletion.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2021 [Skybrud.dk](http://www.skybrud.dk/)

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:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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.
3 changes: 3 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

dotnet build src/Skybrud.Forms --configuration Release /t:rebuild /t:pack -p:BuildTools=1 -p:PackageOutputPath=../../releases/nuget
30 changes: 30 additions & 0 deletions skybrud.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"tasks": {
"postBuild": [
{
"alias": "zip",
"destination": "releases/github/{packageName}.v{version}.zip",
"files": [
{
"source": "src/{packageName}/bin/Release/",
"destination": "bin/",
"patterns": [
"/Skybrud.Essentials.dll$",
"/Skybrud.Essentials.xml$",
"/Skybrud.Forms.dll$",
"/Skybrud.Forms.xml$",
"/Newtonsoft.Json.dll$",
"/Newtonsoft.Json.xml$"
]
},
{
"source": "src",
"patterns": [
"LICENSE.html"
]
}
]
}
]
}
}
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.Forms</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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RS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: 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;
width: 18px;
height: 18px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAzCAYAAAD/06q7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowMkNFRkFFOTYyMjQxMUUyOEFENDlGQTc2OTAzMzdCOCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowMkNFRkFFQTYyMjQxMUUyOEFENDlGQTc2OTAzMzdCOCI+IDx4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s5XbdAxaBD5FYsllgOMjn7pBdkqLuWcOXDwjy/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=);
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.Forms</h1>
<h2>The MIT License (MIT)</h2>
<div class="skybrudLogo"><a href="http://www.skybrud.dk/" target="_blank"></a></div>
<p>
Copyright &copy; 2021 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.Forms" target="_blank">See project on <strong>GitHub</strong></a>
</li>
<li>
<a href="https://www.nuget.org/packages/Skybrud.Forms/" target="_blank">Download from <strong>NuGet</strong></a>
</li>
</ul>
</div>
</body>
</html>
25 changes: 24 additions & 1 deletion src/Skybrud.Forms/Skybrud.Forms.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;net472</TargetFrameworks>
<BuildInParallel>false</BuildInParallel>
</PropertyGroup>

<PropertyGroup>
<Version>1.0.0-beta001</Version>
<Authors>Anders Bjerner</Authors>
<Company>Skybrud.dk</Company>
<Description>C# models for describing forms.</Description>
<Copyright>Copyright © 2021</Copyright>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<PackageId>Skybrud.Forms</PackageId>
<PackageTags>Skybrud, Forms</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!--<PackageProjectUrl>https://packages.skybrud.dk/skybrud.forms/</PackageProjectUrl>-->
<PackageIconUrl>http://www.skybrud.dk/img/5431sk/icon/favicon.ico</PackageIconUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/skybrud/Skybrud.Forms</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.26" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)'=='Release' AND '$(BuildTools)'=='1' AND '$(TargetFramework)'=='net472'">
<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 added 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 cf0640c

Please sign in to comment.