Skip to content

Commit

Permalink
Change hardcoded folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Tabor committed Jul 16, 2020
1 parent ba85e4f commit 09659eb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
5 changes: 4 additions & 1 deletion scaffold/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ static void Main(string[] args)
// TODO: Print version number.
// TODO: Check to make sure all the templates are in the right folder.

// Reminder - to create a self-contained install:
// dotnet publish -c Release -r win-x64 --self-contained true

var originalColor = Console.ForegroundColor;

Console.WriteLine("Hi, I scaffold Learn modules!");
Expand Down Expand Up @@ -59,7 +62,7 @@ static void Main(string[] args)

// Create folders

string baseDirectory = $"c:\\working\\{moduleUID}";
string baseDirectory = $"c:\\scaffold\\output\\{moduleUID}";
System.IO.Directory.CreateDirectory(baseDirectory);
Console.WriteLine($"Created {baseDirectory}");

Expand Down
22 changes: 11 additions & 11 deletions scaffold/scaffold.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@

<ItemGroup>
<None Update="index.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="reference.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-introduction.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-knowledge-check.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-exercise.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-challenge.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-solution.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-markdown.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-summary.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-yaml-interactive.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="unit-yaml.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
</ItemGroup>

Expand Down

0 comments on commit 09659eb

Please sign in to comment.