Skip to content
Snippets Groups Projects
Commit 84bfd612 authored by Moritz Maxeiner's avatar Moritz Maxeiner
Browse files

Setup VS dev env

parent e001595e
Branches
Tags
No related merge requests found
...@@ -62,3 +62,6 @@ RUN python -m pip --no-cache-dir install --no-warn-script-location \ ...@@ -62,3 +62,6 @@ RUN python -m pip --no-cache-dir install --no-warn-script-location \
scipy \ scipy \
matplotlib \ matplotlib \
pandas pandas
COPY VsDevSh.ps1 C:/VsDevSh.ps1
SHELL ["powershell", "-NoProfile", "-ExecutionPolicy Bypass", "-Command", "$ErrorActionPreference = 'Stop';", "C:/VsDevSh.ps1;"]
\ No newline at end of file
pushd "C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/Common7/Tools"
cmd /c "VsDevCmd.bat&set" |
foreach {
if ($_ -match "=") {
$v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])"
}
}
popd
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment