Skip to content

Commit

Permalink
clean after install
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean McBeth committed Jan 19, 2024
1 parent f57f728 commit ff048d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Juniper.TSBuild/BuildSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ private void GetBuildCommands(CommandTree commands)
{
commands
.AddMessage("Starting build")
.AddCommands(GetCleanCommands())
.AddCommands(GetInstallCommands())
.AddCommands(GetCleanCommands())
.AddCommands(copyCommands);

if (BuildProjects.Count > 0)
Expand Down Expand Up @@ -581,6 +581,7 @@ await WithCommandTree(commands =>
{
commands
.AddMessage("Installing NPM Packages")
.AddCommands(GetCleanCommands())
.AddCommands(installCommands);
}, buildCanceller.Token);

Expand All @@ -603,7 +604,6 @@ await WithCommandTree(commands =>
{
commands
.AddMessage("Starting build")
.AddCommands(GetCleanCommands())
.AddCommands(preBuilds)
.AddCommands(copyCommands);
}, buildCanceller.Token);
Expand All @@ -614,7 +614,6 @@ await WithCommandTree(commands =>
{
commands
.AddMessage("Starting build")
.AddCommands(GetCleanCommands())
.AddCommands(copyCommands);
}, buildCanceller.Token);
}
Expand Down

0 comments on commit ff048d7

Please sign in to comment.