Guest User

Untitled

a guest
Jul 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. param (
  2. [string]$target = "Build"
  3. )
  4.  
  5. $BuildPackages = ".\.fake"
  6.  
  7. if (-Not (Test-Path "$BuildPackages\fake.exe")) {
  8. & dotnet tool install fake-cli --tool-path "$BuildPackages"
  9. }
  10.  
  11. if (Test-Path "build.fsx.lock") {
  12. Remove-Item "build.fsx.lock"
  13. }
  14.  
  15. & "$BuildPackages/fake.exe" run build.fsx --target $target
Add Comment
Please, Sign In to add comment