Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- param (
- [string]$target = "Build"
- )
- $BuildPackages = ".\.fake"
- if (-Not (Test-Path "$BuildPackages\fake.exe")) {
- & dotnet tool install fake-cli --tool-path "$BuildPackages"
- }
- if (Test-Path "build.fsx.lock") {
- Remove-Item "build.fsx.lock"
- }
- & "$BuildPackages/fake.exe" run build.fsx --target $target
Add Comment
Please, Sign In to add comment