Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add License and Headers #66

Merged
merged 4 commits into from Mar 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions Directory.Build.props
@@ -1,8 +1,9 @@
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<RepositoryUrl>https://github.com/dotnet/arcade</RepositoryUrl>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageLicenseUrl>$(RepositoryUrl)/LICENSE.txt</PackageLicenseUrl>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -21,10 +22,10 @@
</PropertyGroup>

<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<!-- Place 'NetFxTfm' in the 'TargetFramework' property of a csproj to include building framework version if building on Windows but to skip building against the framwork on non-Windows platforms.
<!-- Place 'NetFxTfm' in the 'TargetFramework' property of a csproj to include building framework version if building on
Windows but to skip building against the framwork on non-Windows platforms.
Building targeting the framework is not supported on Linux
ie. <TargetFrameworks>netcoreapp2.0;$(NetFxTfm)</TargetFrameworks> -->
<NetFxTfm>net45</NetFxTfm>
</PropertyGroup>

</Project>
23 changes: 23 additions & 0 deletions LICENSE.TXT
@@ -0,0 +1,23 @@
The MIT License (MIT)

Copyright (c) .NET Foundation and Contributors

All rights reserved.

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.
11 changes: 11 additions & 0 deletions THIRD-PARTY-NOTICES.TXT
@@ -0,0 +1,11 @@
.NET Core uses third-party libraries or other resources that may be
distributed under licenses different than the .NET Core software.

In the event that we accidentally failed to list a required notice, please
bring it to our attention. Post an issue or email us:

dotnet@microsoft.com

The attached notices are provided for information only.

No notices are provided at this time.
Expand Up @@ -28,5 +28,7 @@
<file src="$ArtifactsBinDir$Microsoft.DotNet.Build.Tasks.Feed\net45\*.dll" target="build\net46" />
<file src="build\**" target="build" />
<file src="sdk\**" target="sdk" />
<file src="..\..\LICENSE.TXT" />
<file src="..\..\THIRD-PARTY-NOTICES.TXT" />
</files>
</package>
@@ -1,3 +1,4 @@
<!-- Copyright (c) .NET Foundation. All rights reserved. -->
<Project ToolsVersion="12.0" DefaultTargets="PublishOutputLeg" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Publish targets:
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.DotNet.Build.Tasks.Feed/sdk/Sdk.props
@@ -1,4 +1,4 @@
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<!-- Copyright (c) .NET Foundation. All rights reserved. -->
<Project>
<!-- Sdk.props file is required to be present for use as an Sdk, we don't have any props that we use though -->
<Import Project="$(MSBuildThisFileDirectory)..\build\Microsoft.DotNet.Build.Tasks.Feed.props" Condition="Exists('$(MSBuildThisFileDirectory)..\build\Microsoft.DotNet.Build.Tasks.Feed.props')" />
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.DotNet.Build.Tasks.Feed/sdk/Sdk.targets
@@ -1,4 +1,4 @@
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<!-- Copyright (c) .NET Foundation. All rights reserved. -->
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\build\Microsoft.DotNet.Build.Tasks.Feed.targets" />
</Project>
@@ -1,4 +1,8 @@
using Microsoft.Build.Utilities;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.Build.Utilities;
using System.Text.RegularExpressions;

namespace Microsoft.DotNet.Build.CloudTestTasks
Expand Down
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="RoslynTools.RepoToolset">

<PropertyGroup>
Expand Down
Expand Up @@ -33,5 +33,7 @@
<file src="$ArtifactsBinDir$Microsoft.DotNet.Build.Tasks.IO\$NetFxTfm$\Microsoft.DotNet.Build.Tasks.IO.dll" target="build\net45" />
<file src="targets\sdk\**" target="sdk" />
<file src="targets\Microsoft.DotNet.Build.Tasks.IO.props" target="build" />
<file src="..\..\LICENSE.TXT" />
<file src="..\..\THIRD-PARTY-NOTICES.TXT" />
</files>
</package>
@@ -1,3 +1,4 @@
<!-- Copyright (c) .NET Foundation. All rights reserved. -->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_MicrosoftDotNetBuildTasksIOTaskAssembly Condition=" '$(MSBuildRuntimeType)' == 'Core' ">$(MSBuildThisFileDirectory)netcoreapp2.0\Microsoft.DotNet.Build.Tasks.IO.dll</_MicrosoftDotNetBuildTasksIOTaskAssembly>
Expand Down
3 changes: 2 additions & 1 deletion src/Microsoft.DotNet.Build.Tasks.IO/targets/sdk/Sdk.props
@@ -1,3 +1,4 @@
<!-- Copyright (c) .NET Foundation. All rights reserved. -->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
<Import Project="..\build\Microsoft.DotNet.Build.Tasks.IO.props" />
<Import Project="$(MSBuildThisFileDirectory)..\build\Microsoft.DotNet.Build.Tasks.IO.props" />
</Project>
2 changes: 2 additions & 0 deletions src/Microsoft.DotNet.Build.Tasks.IO/targets/sdk/Sdk.targets
@@ -1,2 +1,4 @@
<!-- Copyright (c) .NET Foundation. All rights reserved. -->

<!-- This file is intentionally left blank. -->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"/>
5 changes: 3 additions & 2 deletions test/Microsoft.DotNet.Build.Tasks.IO.Tests/ChmodTests.cs
@@ -1,5 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.IO;
Expand Down
@@ -1,5 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.IO;
Expand Down
5 changes: 3 additions & 2 deletions test/Microsoft.DotNet.Build.Tasks.IO.Tests/FileHashTests.cs
@@ -1,5 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.IO;
Expand Down
5 changes: 3 additions & 2 deletions test/Microsoft.DotNet.Build.Tasks.IO.Tests/MockEngine.cs
@@ -1,5 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Collections;
Expand Down
@@ -1,5 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.IO;
Expand Down
5 changes: 3 additions & 2 deletions test/Microsoft.DotNet.Build.Tasks.IO.Tests/ZipArchiveTest.cs
@@ -1,5 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Collections.Generic;
Expand Down