Skip to content

Commit

Permalink
Add runtime autoindex.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcollins25 authored Jul 27, 2024
1 parent 9903b5d commit 4d22772
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
12 changes: 12 additions & 0 deletions envvars.csx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
["CodexConfigRoot"] = arguments.ConfigRoot,
["CodexRepoConfigRoot"] = arguments.RepoConfigRoot,
["CodexReposConfigRoot"] = Path.Combine(arguments.ConfigRoot ?? "", "repos"),
["CodexBuildConfigRoot"] = Path.Combine(arguments.ConfigRoot ?? "", "repos", ".build"),
["SrcDir"] = arguments.SourcesDirectory,
["BinLogDir"] = arguments.BinLogDir,
["CodexDebugDir"] = arguments.DebugDir,
["CodexBuildTempDir"] = arguments.BuildTempDir,
["CodexBinDir"] = arguments.CodexBinDir,
["CodexExtractTargets"] = Path.Combine(arguments.CodexBinDir ?? "", "Codex.Managed.Extractor.targets"),
["CodexCommonArgs"] = arguments.ProjectDataArgs?.ToString(),
["CodexProjectExtractionRoot"] = arguments.ExtractionRoot,
File renamed without changes.
4 changes: 2 additions & 2 deletions repos/github/dotnet/roslyn/build.cmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
REM Disk space Before Build
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "%~dp0/diskspace.ps1"
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "%CodexBuildConfigRoot%/diskspace.ps1"

REM Build using arcade build logic
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/build.ps1 -ci -restore -build -binaryLog /p:GeneratePkgDefFile=false /p:CreateVsixContainer=false /p:DeployExtension=false /p:IsSwixProject=false /p:UsingToolVSSDK=false"

REM Disk space Post Build
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "%~dp0/diskspace.ps1"
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "%CodexBuildConfigRoot%/diskspace.ps1"

REM Copy binlogs
xcopy "%SrcDir%\artifacts\log\*.binlog" "%BinlogDir%" /S /I /Y
Expand Down
14 changes: 14 additions & 0 deletions repos/github/dotnet/runtime/build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
REM Disk space Before Build
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "%CodexBuildConfigRoot%/diskspace.ps1"

REM Build using arcade build logic
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/build.ps1 -ci -restore -build -binaryLog

REM Disk space Post Build
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "%CodexBuildConfigRoot%/diskspace.ps1"

REM Copy binlogs
xcopy "%SrcDir%\artifacts\log\*.binlog" "%BinlogDir%" /S /I /Y

REM Copy binlogs to debug dir
xcopy "%SrcDir%\artifacts\log\*.binlog" "%CodexDebugDir%" /S /I /Y

0 comments on commit 4d22772

Please sign in to comment.