Skip to content
This repository has been archived by the owner on Oct 18, 2018. It is now read-only.

Commit

Permalink
WIP2
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Hurdugaci committed Mar 30, 2015
1 parent ef718d1 commit 8f26016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions build/BuildEnv.shade
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ use namespace="System"

functions
@{
string CreateDayBasedFullVersion(string versionPattern)
{
var versionNumber = CreateDayBasedVersionNumber();
return versionPattern.Replace("*", versionNumber);
}

string CreateDayBasedVersionNumber()
{
var start = new DateTime(2015, 1, 1);
Expand Down
8 changes: 2 additions & 6 deletions build/_k-standard-goals.shade
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@ default Configuration='${E("Configuration")}'
{
E("DNX_AUTHOR", AUTHORS);
}

var assemblyFileVersion = E("DNX_ASSEMBLY_FILE_VERSION");
if (string.IsNullOrEmpty(assemblyFileVersion))
if (string.IsNullOrEmpty(E("DNX_ASSEMBLY_FILE_VERSION")))
{
assemblyFileVersion = "1.0.*.0";
E("DNX_ASSEMBLY_FILE_VERSION", CreateDayBasedVersionNumber());
}
E("DNX_ASSEMBLY_FILE_VERSION", CreateDayBasedFullVersion(version));

if (string.IsNullOrEmpty(Configuration))
{
Configuration = "Debug";
Expand Down

0 comments on commit 8f26016

Please sign in to comment.