Skip to content

Commit

Permalink
ci: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore committed Sep 10, 2023
1 parent c87c41e commit 48a1121
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions UnitTests~/DocsBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Unity.VisualStudio.Editor;
using UnityEditor;

public static class DocsBuilder
{
public static void BuildDocs()
{
// Make sure the build directory exists (this keeps GameCI happy)
System.IO.Directory.CreateDirectory("build");
// Create a dummy file as well
System.IO.File.WriteAllText("build/dummy.txt", "");

ProjectGeneration projectGeneration = new ProjectGeneration();
AssetDatabase.Refresh();
projectGeneration.GenerateAndWriteSolutionAndProjects();
Expand All @@ -19,6 +25,8 @@ public static void BuildDocs()
{
System.Console.Error.WriteLine("Failed to build docs: " + e);
}


}

private static void RunProcess(string command)
Expand Down

0 comments on commit 48a1121

Please sign in to comment.