mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-09-22 17:20:05 +00:00
Compare commits
43
Commits
57252a8e29
...
odin
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee086a06f8 | ||
|
|
e9abd2ab3a | ||
|
|
b6f9766fe5 | ||
|
|
b6dca789df | ||
|
|
2fe6a0884c | ||
|
|
d1391c5f91 | ||
|
|
fc8dfcc506 | ||
|
|
1028318de2 | ||
|
|
4fdd2aee71 | ||
|
|
245560552e | ||
|
|
1101854de5 | ||
|
|
0bbf33514b | ||
|
|
9086233d89 | ||
|
|
ad1b2fa23d | ||
|
|
f67098f54b | ||
|
|
ea4e671a44 | ||
|
|
0c4c18c64f | ||
|
|
ba9d68951d | ||
|
|
340d504f10 | ||
|
|
e8f03562bf | ||
|
|
c946f88b2a | ||
|
|
56e7bae038 | ||
|
|
c1741b4f39 | ||
|
|
ba41543543 | ||
|
|
5ae60aedc5 | ||
|
|
f23979e20a | ||
|
|
57fb0eb833 | ||
|
|
5d2d13d9d9 | ||
|
|
8342cfbd53 | ||
|
|
2721adf088 | ||
|
|
ffcecd659e | ||
|
|
0ccfb51102 | ||
|
|
f41f8dd719 | ||
|
|
fa6b04ab24 | ||
|
|
156615a3ba | ||
|
|
57a35c6b28 | ||
|
|
76ce8a79c2 | ||
|
|
932db741fa | ||
|
|
0add3ef72c | ||
|
|
e417a96ce4 | ||
|
|
b2262532a7 | ||
|
|
b24326f502 | ||
|
|
66c1fa337c |
@@ -0,0 +1,15 @@
|
|||||||
|
Clear-Host
|
||||||
|
|
||||||
|
$path_root = git rev-parse --show-toplevel
|
||||||
|
|
||||||
|
if ($IsWindows) {
|
||||||
|
$devshell = Join-Path $path_root 'scripts/helpers/devshell.ps1'
|
||||||
|
& $devshell -arch amd64
|
||||||
|
}
|
||||||
|
|
||||||
|
Push-Location $path_root
|
||||||
|
|
||||||
|
$build_bat = Join-Path $path_root 'build.bat'
|
||||||
|
& $build_bat @args
|
||||||
|
|
||||||
|
Pop-Location
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Clear-Host
|
||||||
|
$path_root = git rev-parse --show-toplevel
|
||||||
|
$build_dir = Join-Path $path_root 'build'
|
||||||
|
|
||||||
|
if (Test-Path $build_dir) {
|
||||||
|
Get-ChildItem -Path $build_dir -Recurse | Remove-Item -Force -Recurse
|
||||||
|
Write-Host "Build directory cleaned."
|
||||||
|
} else {
|
||||||
|
Write-Host "Build directory does not exist."
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
if ($env:VCINSTALLDIR) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
|
# Use vswhere to find the latest Visual Studio installation
|
||||||
|
$vswhere_out = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath
|
||||||
|
if ($null -eq $vswhere_out) {
|
||||||
|
Write-Host "ERROR: Visual Studio installation not found"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# Find Launch-VsDevShell.ps1 in the Visual Studio installation
|
||||||
|
$vs_path = $vswhere_out
|
||||||
|
$vs_devshell = Join-Path $vs_path "\Common7\Tools\Launch-VsDevShell.ps1"
|
||||||
|
|
||||||
|
if ( -not (Test-Path $vs_devshell) ) {
|
||||||
|
Write-Host "ERROR: Launch-VsDevShell.ps1 not found in Visual Studio installation"
|
||||||
|
Write-Host Tested path: $vs_devshell
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# Launch the Visual Studio Developer Shell
|
||||||
|
Push-Location
|
||||||
|
write-host @args
|
||||||
|
& $vs_devshell @args
|
||||||
|
Pop-Location
|
||||||
Reference in New Issue
Block a user