update googletet submodule in bootstrap on linux and osx (#1805)

This commit is contained in:
Matt Wrock 2016-08-18 08:44:37 -07:00 committed by Jason Shirk
parent 8c4d848520
commit 33fcdf37e5

View File

@ -663,6 +663,13 @@ function Start-PSBootstrap {
Push-Location $PSScriptRoot/tools
try {
# Update googletest submodule for linux native cmake
if ($IsLinux -or $IsOSX) {
$Submodule = "$PSScriptRoot/src/libpsl-native/test/googletest"
Remove-Item -Path $Submodule -Recurse -Force -ErrorAction SilentlyContinue
git submodule update --init -- $submodule
}
# Install ours and .NET's dependencies
$Deps = @()
if ($IsUbuntu) {