Fix for desired extension on Bottle and SnapWrap
This commit is contained in:
parent
f665ab2d37
commit
3ee74ceb8f
1 changed files with 7 additions and 3 deletions
|
@ -45,12 +45,16 @@ namespace Prebuild.Core.Nodes
|
||||||
{
|
{
|
||||||
// Add to the extension: Bottle.cs
|
// Add to the extension: Bottle.cs
|
||||||
// This is to aid in excluding these files from git
|
// This is to aid in excluding these files from git
|
||||||
|
string desiredExtension = Path.GetExtension(OutputName);
|
||||||
m_OutputName = Path.ChangeExtension(m_OutputName, ".Bottle.cs");
|
m_OutputName = Path.ChangeExtension(m_OutputName, ".Bottle" + desiredExtension);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else m_OutputName = Path.ChangeExtension(m_OutputName, ".SnapWrap.cs");
|
else
|
||||||
|
{
|
||||||
|
string desiredExtension = Path.GetExtension(OutputName);
|
||||||
|
m_OutputName = Path.ChangeExtension(m_OutputName, ".SnapWrap" + desiredExtension);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue