Skip to content

Commit

Permalink
read git commit from file and create a replace marker for it
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Feb 23, 2015
1 parent 40b7341 commit 43c5a5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meta/FlexibleSUSY.m
Expand Up @@ -2,6 +2,7 @@
BeginPackage["FlexibleSUSY`", {"SARAH`", "AnomalousDimension`", "BetaFunction`", "TextFormatting`", "CConversion`", "TreeMasses`", "EWSB`", "Traces`", "SelfEnergies`", "Vertices`", "Phases`", "LoopMasses`", "WriteOut`", "Constraint`", "ThresholdCorrections`", "ConvergenceTester`", "Utils`"}];

FS`Version = StringTrim[Import[FileNameJoin[{Global`$flexiblesusyConfigDir,"version"}], "String"]];
FS`GitCommit = StringTrim[Import[FileNameJoin[{Global`$flexiblesusyConfigDir,"git_commit"}], "String"]];
FS`Authors = {"P. Athron", "Jae-hyeon Park", "D. Stöckinger", "A. Voigt"};
FS`Years = "2013-2015";
FS`References = Get[FileNameJoin[{Global`$flexiblesusyConfigDir,"references"}]];
Expand Down Expand Up @@ -427,7 +428,8 @@
"@InputParameter_" ~~ num_ ~~ "@" /; IntegerQ[ToExpression[num]] :> CConversion`ToValidCSymbolString[FlexibleSUSY`InputParameters[[ToExpression[num]]]],
"@DateAndTime@" -> DateString[],
"@SARAHVersion@" -> SA`Version,
"@FlexibleSUSYVersion@" -> FS`Version
"@FlexibleSUSYVersion@" -> FS`Version,
"@FlexibleSUSYGitCommit@" -> FS`GitCommit
}


Expand Down

0 comments on commit 43c5a5b

Please sign in to comment.