Fix .git clean ignoring ClientApp directory

This commit is contained in:
Jordan Dominion
2023-06-26 00:05:20 -04:00
parent 8a4328bb4e
commit d139106bf2
@@ -29,6 +29,7 @@
<Message Text="Pulling web control panel..." Importance="high" />
<RemoveDir Directories="ClientApp" />
<Exec Command="git clone https://github.com/tgstation/tgstation-server-webpanel --branch v$(TgsControlPanelVersion) --depth 1 ClientApp" />
<RemoveDir Directories="ClientApp/.git" /> <!-- Allows git clean to clean it out -->
<Message Text="Restoring yarn packages..." Importance="high" />
<Exec WorkingDirectory="ClientApp" Command="npx --yes yarn install --immutable" />
<Touch Files="$(NpmInstallStampFile)" AlwaysCreate="true" />