Skip to content

Commit

Permalink
minor fixes for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Solnica committed Aug 30, 2016
1 parent 88c3991 commit 0f4e65a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions ProcessGovernor/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,16 @@ public static void LoadCustomEnvironmentVariables(ProcessGovernor procgov, strin

static void ShowHelp(OptionSet p)
{
Console.WriteLine("Process Governor v{0} - allows you to set limits on your processes",
Assembly.GetExecutingAssembly().GetName().Version.ToString());
Console.WriteLine("Copyright (C) 2016 Sebastian Solnica (@lowleveldesign)");
Console.WriteLine();
Console.WriteLine("Usage: procgov [OPTIONS] args");
Console.WriteLine();
Console.WriteLine("Options:");
Console.WriteLine("--------");
p.WriteOptionDescriptions(Console.Out);
Console.WriteLine();
Console.WriteLine("EXAMPLES:");
Console.WriteLine("---------");
Console.WriteLine("Limit memory of a test.exe process to 200MB:");
Console.WriteLine("> procgov --maxmem 200M test.exe");
Console.WriteLine();
Expand Down
1 change: 0 additions & 1 deletion ProcessGovernor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
2 changes: 1 addition & 1 deletion scripts/Update-AssemblyInfoVersionFiles.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Update-AssemblyInfoVersionFiles

Write-Host "Executing Update-AssemblyInfoVersionFiles in path $srcPath for build $buildNumber"

foreach ($file in $(Get-ChildItem $srcPath GlobalVersion.cs -recurse))
foreach ($file in $(Get-ChildItem $srcPath AssemblyInfo.cs -recurse))
{
$local:r = [regex]"AssemblyFileVersion\(""([0-9]+\.[0-9]+)(\.([0-9]+|\*))+""\)"
$local:assemblyVersion = "0.0.0.0"
Expand Down

0 comments on commit 0f4e65a

Please sign in to comment.