From ff048d7c8d95bb5f1e5191df155ae0b231063da4 Mon Sep 17 00:00:00 2001 From: Sean McBeth Date: Fri, 19 Jan 2024 15:09:07 -0500 Subject: [PATCH] clean after install --- src/Juniper.TSBuild/BuildSystem.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Juniper.TSBuild/BuildSystem.cs b/src/Juniper.TSBuild/BuildSystem.cs index dc960e081..8e6f3b45f 100644 --- a/src/Juniper.TSBuild/BuildSystem.cs +++ b/src/Juniper.TSBuild/BuildSystem.cs @@ -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) @@ -581,6 +581,7 @@ await WithCommandTree(commands => { commands .AddMessage("Installing NPM Packages") + .AddCommands(GetCleanCommands()) .AddCommands(installCommands); }, buildCanceller.Token); @@ -603,7 +604,6 @@ await WithCommandTree(commands => { commands .AddMessage("Starting build") - .AddCommands(GetCleanCommands()) .AddCommands(preBuilds) .AddCommands(copyCommands); }, buildCanceller.Token); @@ -614,7 +614,6 @@ await WithCommandTree(commands => { commands .AddMessage("Starting build") - .AddCommands(GetCleanCommands()) .AddCommands(copyCommands); }, buildCanceller.Token); }