This commit is contained in:
davidebbo 2015-01-15 16:19:21 -08:00
Родитель 77975a12a9
Коммит 0a2d435613
6 изменённых файлов: 34 добавлений и 4 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -15,6 +15,7 @@ build/
bld/
[Bb]in/
[Oo]bj/
[Aa]rtifacts/
# MSTest test Results
[Tt]est[Rr]esult*/

Просмотреть файл

@ -65,6 +65,7 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="ARMClient.nuspec" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>ARMClient</id>
<title>ARMClient</title>
<version>0.9</version>
<authors>Project Kudu contributors</authors>
<summary>A simple command line tool to invoke the Azure Resource Manager API</summary>
<description>A simple command line tool to invoke the Azure Resource Manager API</description>
<projectUrl>https://github.com/projectkudu/ARMClient</projectUrl>
<tags>azure rest API</tags>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes></releaseNotes>
</metadata>
<files>
<file src="bin\debug\*.exe" target="tools" />
<file src="bin\debug\*.dll" target="tools" />
</files>
</package>

Просмотреть файл

@ -191,8 +191,9 @@ namespace ARMClient
static void PrintUsage()
{
Console.WriteLine("ARMClient supports getting token and simple Http ARM resources.");
Console.WriteLine("Source codes are available at https://github.com/projectkudu/ARMClient.");
Console.WriteLine(@"ARMClient version {0}", typeof(Program).Assembly.GetName().Version);
Console.WriteLine("A simple tool to invoke the Azure Resource Manager API");
Console.WriteLine("Source code is available on https://github.com/projectkudu/ARMClient.");
Console.WriteLine();
Console.WriteLine("Login and get tokens");

Просмотреть файл

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 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("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]

7
BuildPackage.cmd Normal file
Просмотреть файл

@ -0,0 +1,7 @@
@echo off
nuget restore
msbuild
md artifacts
nuget pack -NoPackageAnalysis -OutputDirectory artifacts ARMClient.Console\ARMClient.nuspec