Skip to content

Commit

Permalink
(GH-36) Add official publickeytoken
Browse files Browse the repository at this point in the history
Add official publickeytoken to application parameters. Adjust .uppercut
to search for an environment variable containing the official key
location
  • Loading branch information
ferventcoder committed Jan 25, 2015
1 parent ce3a0a4 commit 59ba8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .uppercut
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
<property name="app.test.console" value="${dirs.current}${path.separator}src${path.separator}packages${path.separator}NUnit.Runners.2.6.4${path.separator}tools${path.separator}nunit-console.exe" overwrite="false" />
<property name="app.test.console.x86" value="${dirs.current}${path.separator}src${path.separator}packages${path.separator}NUnit.Runners.2.6.4${path.separator}tools${path.separator}nunit-console-x86.exe" overwrite="false" />
<property name="codecoverage.filters" value="+[${project.name}*]* -[${project.name}*test*]* -[${project.name}]*adapters.* -[${project.name}]*infrastructure.app.configuration.*Setting* -[${project.name}]*app.configuration.*Configuration -[${project.name}]*app.domain.* -[${project.name}]*app.messages.* -[${project.name}]*.registration.* -[${project.name}]*app.templates.* -[${project.name}]*commandline.Option* -[${project.name}]*licensing.* -[${project.name}]*infrastructure.results.*" />
<property name="path.key.name.private" value="${environment::get-variable('CHOCOLATEY_OFFICIAL_KEY')}" if="${environment::variable-exists('CHOCOLATEY_OFFICIAL_KEY')}" />

</project>
1 change: 1 addition & 0 deletions src/chocolatey/infrastructure.app/ApplicationParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public static class ApplicationParameters
public static readonly string GlobalConfigFileLocation = _fileSystem.combine_paths(InstallLocation, "config", "chocolatey.config");
public static readonly string LicenseFileLocation = _fileSystem.combine_paths(InstallLocation, "license", "chocolatey.license.xml");
public static readonly string PackageNamesSeparator = ";";
public static readonly string OfficialChocolateyPublicKey = "79d02ea9cad655eb";

public static string PackagesLocation = _fileSystem.combine_paths(InstallLocation, "lib");
public static string PackageFailuresLocation = _fileSystem.combine_paths(InstallLocation, "lib-bad");
Expand Down

0 comments on commit 59ba8f6

Please sign in to comment.