-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
148 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="NuProj" version="0.11.14-beta" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
configuration: | ||
- Debug | ||
- Release | ||
|
||
environment: | ||
RunCodeAnalysis: true | ||
|
||
branches: | ||
only: | ||
- master | ||
- develop | ||
|
||
skip_tags: true | ||
|
||
notifications: | ||
- provider: GitHubPullRequest | ||
on_build_success: true | ||
on_build_failure: true | ||
|
||
cache: | ||
- packages -> **\packages.config | ||
|
||
before_build: | ||
- nuget restore | ||
|
||
test: | ||
assemblies: | ||
- '**\bin\$(configuration)\*.test.dll' | ||
|
||
artifacts: | ||
- path: src\VSSetup.PowerShell\bin\$(configuration) | ||
name: VSSetup | ||
type: zip | ||
|
||
- path: src\VSSetup\bin\$(configuration)\*.nupkg | ||
name: package | ||
|
||
deploy: | ||
- provider: GitHub | ||
auth_token: | ||
secure: 5K94QY8dHKlbjvlBpQaXwAkmDf+LQE3g5WlU9snnNMjDjf0UT4xDoOBCLWcmwZOm | ||
artifact: VSSetup | ||
on: | ||
branch: master | ||
configuration: Release | ||
|
||
- provider: NuGet | ||
server: https://powershellgallery.com | ||
api_key: | ||
secure: 4STrzCp6wDsDBj/wCtmImMVL7wUI8DCGjdMBXGqQf9JZJ8LjmW5YSY8wtcHAv0XW | ||
artifact: package | ||
on: | ||
branch: master | ||
configuration: Release | ||
|
||
# vim: set ai et st=2 sts=2 sw=2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.PowerShell.3.ReferenceAssemblies" version="1.0.0" targetFramework="net40-client" /> | ||
<package id="Microsoft.VisualStudio.Setup.Configuration.Interop" version="1.3.269-rc" targetFramework="net40-client" /> | ||
<package id="Microsoft.VisualStudio.Setup.Configuration.Interop" version="1.3.269-rc" targetFramework="net40-client" developmentDependency="true" /> | ||
<package id="Nerdbank.GitVersioning" version="1.5.62" targetFramework="net40-client" developmentDependency="true" /> | ||
<package id="NuProj.Common" version="0.11.14-beta" targetFramework="net40-client" developmentDependency="true" /> | ||
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net40-client" developmentDependency="true" /> | ||
</packages> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|AnyCPU"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|AnyCPU"> | ||
<Configuration>Release</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\VSSetup.PowerShell\VSSetup.PowerShell.csproj"> | ||
<!-- Override behavior to add files to root directory --> | ||
<PackageDirectory>\</PackageDirectory> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>e0172143-fcfd-48b3-988d-e9f01a680c21</ProjectGuid> | ||
<NuProjPath>..\..\packages\nuproj.0.11.14-beta\tools</NuProjPath> | ||
<VersionDependsOn>$(VersionDependsOn);GetNuPkgVersion</VersionDependsOn> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<NuProjPath Condition=" '$(NuProjPath)' == '' ">$(MSBuildExtensionsPath)\NuProj\</NuProjPath> | ||
</PropertyGroup> | ||
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" /> | ||
<PropertyGroup Label="Configuration"> | ||
<Id>VSSetup</Id> | ||
<Title>Visual Studio Setup PowerShell Module</Title> | ||
<Authors>Microsoft Corporation</Authors> | ||
<Owners>Microsoft Corporation</Owners> | ||
<Summary>Visual Studio Setup PowerShell Module</Summary> | ||
<Description>PowerShell module to interact with Visual Studio Setup</Description> | ||
<ReleaseNotes> | ||
</ReleaseNotes> | ||
<ProjectUrl>https://github.com/Microsoft/vssetup.powershell</ProjectUrl> | ||
<LicenseUrl>https://github.com/Microsoft/vssetup.powershell/raw/$GitCommitIdShort$/LICENSE.txt</LicenseUrl> | ||
<Copyright>Copyright (C) Microsoft Corporation. All rights reserved.</Copyright> | ||
<Tags>PSModule PSIncludes_Cmdlet PSCmdlet_Get-VSSetupInstance PSCmdlet_Select-VSSetupInstance PSCommand_Get-VSSetupInstance PSCommand_Select-VSSetupInstance</Tags> | ||
<NoPackageAnalysis>true</NoPackageAnalysis> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<File Include="..\VSSetup.PowerShell\bin\$(Configuration)\VSSetup.psd1" /> | ||
<File Include="..\VSSetup.PowerShell\bin\$(Configuration)\VSSetup.types.ps1xml" /> | ||
</ItemGroup> | ||
<Import Project="$(NuProjPath)\NuProj.targets" /> | ||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
<PropertyGroup> | ||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
</PropertyGroup> | ||
<Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.1.5.62\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.1.5.62\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets'))" /> | ||
</Target> | ||
<Import Project="..\..\packages\Nerdbank.GitVersioning.1.5.62\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.1.5.62\build\portable-net+win+wpa+wp+sl+netmf+MonoAndroid+MonoTouch+Xamarin.iOS\Nerdbank.GitVersioning.targets')" /> | ||
<Target Name="GetNuPkgVersion" DependsOnTargets="GetBuildVersion"> | ||
<PropertyGroup> | ||
<!-- PSGallery packages must use dotted quad $(Version) --> | ||
<Version>$(AssemblyFileVersion)</Version> | ||
<NuSpecProperties>$(NuSpecProperties);GitCommitIdShort=$(GitCommitIdShort)</NuSpecProperties> | ||
</PropertyGroup> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters