1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for "linux": local 1`] = `
5 className="spacer-bottom"
8 className="spacer-bottom"
10 onboarding.analysis.build_wrapper.header.linux
13 className="spacer-bottom markdown"
16 defaultMessage="onboarding.analysis.build_wrapper.text"
17 id="onboarding.analysis.build_wrapper.text"
30 download="build-wrapper-linux-x86.zip"
31 href="/static/cpp/build-wrapper-linux-x86.zip"
32 rel="noopener noreferrer"
41 exports[`should render correctly for "linux": remote 1`] = `
43 className="spacer-bottom"
46 className="spacer-bottom"
48 onboarding.analysis.build_wrapper.header.linux
51 snippet="curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip http://example.com/static/cpp/build-wrapper-linux-x86.zip
52 unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/
53 export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH
59 exports[`should render correctly for "mac": local 1`] = `
61 className="spacer-bottom"
64 className="spacer-bottom"
66 onboarding.analysis.build_wrapper.header.mac
69 className="spacer-bottom markdown"
72 defaultMessage="onboarding.analysis.build_wrapper.text"
73 id="onboarding.analysis.build_wrapper.text"
86 download="build-wrapper-macosx-x86.zip"
87 href="/static/cpp/build-wrapper-macosx-x86.zip"
88 rel="noopener noreferrer"
97 exports[`should render correctly for "mac": remote 1`] = `
99 className="spacer-bottom"
102 className="spacer-bottom"
104 onboarding.analysis.build_wrapper.header.mac
107 snippet="curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-macosx-x86.zip http://example.com/static/cpp/build-wrapper-macosx-x86.zip
108 unzip -o $HOME/.sonar/build-wrapper-macosx-x86.zip -d $HOME/.sonar/
109 export PATH=$HOME/.sonar/build-wrapper-macosx-x86:$PATH
115 exports[`should render correctly for "win": local 1`] = `
117 className="spacer-bottom"
120 className="spacer-bottom"
122 onboarding.analysis.build_wrapper.header.win
125 className="spacer-bottom markdown"
128 defaultMessage="onboarding.analysis.build_wrapper.text"
129 id="onboarding.analysis.build_wrapper.text"
142 download="build-wrapper-win-x86.zip"
143 href="/static/cpp/build-wrapper-win-x86.zip"
144 rel="noopener noreferrer"
153 exports[`should render correctly for "win": remote 1`] = `
155 className="spacer-bottom"
158 className="spacer-bottom"
160 onboarding.analysis.build_wrapper.header.win
163 snippet="$env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar")
164 rm "$env:SONAR_DIRECTORY/build-wrapper-win-x86" -Force -Recurse -ErrorAction SilentlyContinue
165 New-Item -path $env:SONAR_DIRECTORY/build-wrapper-win-x86 -type directory
166 (New-Object System.Net.WebClient).DownloadFile("http://example.com/static/cpp/build-wrapper-win-x86.zip", "$env:SONAR_DIRECTORY/build-wrapper-win-x86.zip")
167 Add-Type -AssemblyName System.IO.Compression.FileSystem
168 [System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/build-wrapper-win-x86.zip", "$env:SONAR_DIRECTORY")
169 $env:Path += ";$env:SONAR_DIRECTORY/build-wrapper-win-x86"