Fixed issue with multiple shared file projects
- Create new Files instance so project generator doesn't have left over state.
This commit is contained in:
parent
ba807f65fc
commit
e65b122584
|
|
@ -31,7 +31,7 @@ default skipNet45='${false}'
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ProjectGenerator.Logger = Log;
|
ProjectGenerator.Logger = Log;
|
||||||
ProjectGenerator.Files = Files;
|
ProjectGenerator.FilesAccessor = ()=> Files;
|
||||||
|
|
||||||
var templates = new Dictionary<string, string> {
|
var templates = new Dictionary<string, string> {
|
||||||
{ "net45", net45 },
|
{ "net45", net45 },
|
||||||
|
|
@ -53,7 +53,9 @@ functions
|
||||||
{
|
{
|
||||||
public static Sake.Engine.Logging.ILog Logger { get; set; }
|
public static Sake.Engine.Logging.ILog Logger { get; set; }
|
||||||
|
|
||||||
public static _Files Files { get; set; }
|
public static _Files Files { get { return FilesAccessor(); } }
|
||||||
|
|
||||||
|
public static Func<_Files> FilesAccessor { get; set;}
|
||||||
|
|
||||||
static void Log(string message, params object[] args)
|
static void Log(string message, params object[] args)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue