make the go\bin directory on windows
authorAJ ONeal <aj@therootcompany.com>
Sat, 4 Jul 2020 07:08:16 +0000 (07:08 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sat, 4 Jul 2020 07:08:16 +0000 (07:08 +0000)
golang/install.ps1

index d7d1161c76069d08a8a0f578b83a1fd5f4a0e68b..f2ded216bd3d43facc2773dcb1e2fbb6c4b7a4d7 100644 (file)
@@ -47,6 +47,7 @@ IF (!(Test-Path -Path "$pkg_src"))
 echo "Copying into '$pkg_dst' from '$pkg_src'"
 Remove-Item -Path "$pkg_dst" -Recurse -ErrorAction Ignore
 Copy-Item -Path "$pkg_src" -Destination "$pkg_dst" -Recurse
+IF (!(Test-Path -Path go\bin)) { New-Item -Path go\bin -ItemType Directory }
 
 # Special to go: re-run all go tooling builds
 echo "Building go language tools..."