EV5_Modcon/src/ev3/cc.ps1

9 lines
364 B
PowerShell

# Define your Docker container name
$volumeName = "ev3cc"
$containerName = "modconcc"
# Run a command in the container and capture the output
$commandOutput = docker run --rm --name $containerName -v C:/Users/User/Documents/Git/Modcon/src/ev3:/src -w /src/build $volumeName /bin/bash -c "cmake .. && make"
# Display the command output
Write-Output $commandOutput