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

Configurable dev env for Windows

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