Skip to content

Commit

Permalink
Expanded template for HkLabs.Consul.NET
Browse files Browse the repository at this point in the history
This expansion done by the (now removed) Expand-Template.ps1 script.
  • Loading branch information
mdementyev committed Sep 15, 2019
1 parent 5cc44c4 commit 9aee992
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 207 deletions.
170 changes: 0 additions & 170 deletions Expand-Template.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) COMPANY-PLACEHOLDER
Copyright (c) HKLabs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

***An awesome template for your awesome library***

![NuGet package](https://img.shields.io/badge/nuget-your--package--here-yellow.svg)
[![Build Status](https://dev.azure.com/andrewarnott/OSS/_apis/build/status/AArnott.Library.Template?branchName=master)](https://dev.azure.com/andrewarnott/OSS/_build/latest?definitionId=29&branchName=master)
[![codecov](https://codecov.io/gh/aarnott/library.template/branch/master/graph/badge.svg)](https://codecov.io/gh/aarnott/library.template)
[![NuGet package](https://img.shields.io/nuget/v/HkLabs.Consul.NET.svg)](https://nuget.org/packages/HkLabs.Consul.NET)

## Features

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
BuildConfiguration: Release
BuildPlatform: Any CPU
codecov_token: 4dc9e7e2-6b01-4932-a180-847b52b43d35 # Get a new one from https://codecov.io/
ci_feed: /a5a3bad0-e566-4c53-be83-6458be8d1653 # find guid used by Azure DevOps Artifacts for the feed
#codecov_token: # Get a new one from https://codecov.io/
#ci_feed: # find guid used by Azure DevOps Artifacts for the feed
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages

jobs:
Expand Down
3 changes: 0 additions & 3 deletions azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
displayName: Set build number

- template: dotnet.yml
- template: expand-template.yml

- job: Linux
pool:
Expand All @@ -23,7 +22,6 @@ jobs:
clean: true
- template: install-dependencies.yml
- template: dotnet.yml
- template: expand-template.yml

- job: macOS
pool:
Expand All @@ -33,7 +31,6 @@ jobs:
clean: true
- template: install-dependencies.yml
- template: dotnet.yml
- template: expand-template.yml

- job: WrapUp
dependsOn:
Expand Down
15 changes: 0 additions & 15 deletions azure-pipelines/expand-template.yml

This file was deleted.

8 changes: 4 additions & 4 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<RepoRootPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\'))</RepoRootPath>
Expand All @@ -11,9 +11,9 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\strongname.snk</AssemblyOriginatorKeyFile>

<Company>COMPANY-PLACEHOLDER</Company>
<Authors>COMPANY-PLACEHOLDER</Authors>
<CopyrightCOMPANY-PLACEHOLDER. All rights reserved.</Copyright>
<Company>HKLabs</Company>
<Authors>HKLabs</Authors>
<CopyrightHKLabs. All rights reserved.</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright (c) COMPANY-PLACEHOLDER. All rights reserved.
// Copyright (c) HKLabs. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using Library;
using HkLabs.Consul.NET;
using Xunit;
using Xunit.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Library\Library.csproj" />
<ProjectReference Include="..\HkLabs.Consul.NET\HkLabs.Consul.NET.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Library.sln → src/HkLabs.Consul.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Library", "Library\Library.csproj", "{C06D702E-6FC7-453B-BDDF-608F825EC003}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HkLabs.Consul.NET", "HkLabs.Consul.NET\HkLabs.Consul.NET.csproj", "{C06D702E-6FC7-453B-BDDF-608F825EC003}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Library.Tests", "Library.Tests\Library.Tests.csproj", "{DC5F3D1C-A9A3-44B7-A3C0-82C1FF4C3336}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HkLabs.Consul.NET.Tests", "HkLabs.Consul.NET.Tests\HkLabs.Consul.NET.Tests.csproj", "{DC5F3D1C-A9A3-44B7-A3C0-82C1FF4C3336}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) COMPANY-PLACEHOLDER. All rights reserved.
// Copyright (c) HKLabs. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace Library
namespace HkLabs.Consul.NET
{
using System;

Expand Down
File renamed without changes.
Binary file modified src/strongname.snk
Binary file not shown.
4 changes: 2 additions & 2 deletions src/stylecop.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"companyName": "COMPANY-PLACEHOLDER",
"companyName": "HKLabs",
"copyrightText": "Copyright (c) {companyName}. All rights reserved.\nLicensed under the {licenseName} license. See {licenseFile} file in the project root for full license information.",
"variables": {
"licenseName": "MIT",
Expand Down

0 comments on commit 9aee992

Please sign in to comment.