Skip to content

Commit

Permalink
Fix clean target by removing MSI files and leave .gitignore file inta…
Browse files Browse the repository at this point in the history
…ct (#83)
  • Loading branch information
Stuart Cam authored and codebrain committed Dec 18, 2018
1 parent fb5ee7c commit 9e19ce0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion installer/build/scripts/Targets.fsx
Expand Up @@ -21,7 +21,9 @@ let versionToBuild = Commandline.parse()

Target "Clean" (fun _ ->
PatchAssemblyInfos (Products.Products.EmptyVersion)
CleanDirs [MsiBuildDir; OutDir;]
CleanDirs [MsiBuildDir]
for file in System.IO.Directory.EnumerateFiles(OutDir, "*.msi") do
System.IO.File.Delete(file)
)

Target "BuildInstaller" (fun () ->
Expand Down

0 comments on commit 9e19ce0

Please sign in to comment.