Skip to content

Commit

Permalink
Setup nuget deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
benruehl committed Jun 2, 2018
1 parent f6c107e commit 9a8b96c
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 31 deletions.
20 changes: 20 additions & 0 deletions AdonisUI.ClassicTheme/AdonisUI.ClassicTheme.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<licenseUrl>https://github.com/benruehl/adonis-ui/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/benruehl/adonis-ui</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>First release of this library. It provides two color schemes, usage of component resource keys, base styles for many WPF controls and a basic layering system.</releaseNotes>
<copyright>Copyright 2018</copyright>
<tags>UI Styles Themes Templates Controls WPF XAML</tags>
<dependencies>
<dependency id="AdonisUI" version="1.0" />
</dependencies>
</metadata>
</package>
32 changes: 16 additions & 16 deletions AdonisUI.ClassicTheme/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
using System.Runtime.InteropServices;
using System.Windows;

// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AdonisUI.ClassicTheme")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("Styles implementing AdonisUI's theme definitions to provide classic look and feel.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("benruehl")]
[assembly: AssemblyProduct("AdonisUI.ClassicTheme")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

//Um mit dem Erstellen lokalisierbarer Anwendungen zu beginnen, legen Sie
Expand All @@ -41,15 +41,15 @@
)]


// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
// Version information for an assembly consists of the following four values:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Major Version
// Minor Version
// Build Number
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
17 changes: 17 additions & 0 deletions AdonisUI/AdonisUI.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<licenseUrl>https://github.com/benruehl/adonis-ui/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/benruehl/adonis-ui</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>First release of this library. It provides two color schemes, usage of component resource keys, base styles for many WPF controls and a basic layering system.</releaseNotes>
<copyright>Copyright 2018</copyright>
<tags>UI Styles Themes Templates Controls WPF XAML</tags>
</metadata>
</package>
30 changes: 15 additions & 15 deletions AdonisUI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
using System.Runtime.InteropServices;
using System.Windows;

// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AdonisUI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("Core theme definitions for AdonisUI - a lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("benruehl")]
[assembly: AssemblyProduct("AdonisUI")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2018 Benjamin Rühl")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

//Um mit dem Erstellen lokalisierbarer Anwendungen zu beginnen, legen Sie
Expand All @@ -41,15 +41,15 @@
)]


// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
// Version information for an assembly consists of the following four values:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Major Version
// Minor Version
// Build Number
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
3 changes: 3 additions & 0 deletions Scripts/NuGetPack.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nuget pack ..\AdonisUI\AdonisUi.csproj -Build -Properties Configuration=Release
nuget pack ..\AdonisUI.ClassicTheme\AdonisUI.ClassicTheme.csproj -Build -Properties Configuration=Release
Read-Host -Prompt "Press Enter to exit"

0 comments on commit 9a8b96c

Please sign in to comment.