Re:PowerShell 7.0
by flukus on Wednesday March 04, 2020 @06:21PM
(#22489229)
This is my experience too, anything non-trivial quickly becomes an absolute mess, even the trivial things often have bad defaults. A few years ago I looked into using it as a build system for .net projects but ended up tearing my hair out on even the simplest things like removing directories or recursively copying html files: http://flukus.github.io/powershell-is-a-joke.html
[ Parent
| on HN ]
Re:PowerShell 7.0
by CuriousSkeptic on Wednesday March 04, 2020 @06:43PM
(#22489394)
If you do find yourself in this spot. Have a look at Invoke-Build. It adds some sanity to such scripts, to the point of almost being enjoyable.
Edit: (I only use it to orchestrate and combine other build systems though)