Skip to content

Commit

Permalink
Utilize useCompilerFolder when creating dev env (microsoft#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazhelez committed Nov 21, 2023
1 parent 83759ff commit b6d7e79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Actions/AL-Go-Helper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,8 @@ function CreateDevEnv {
"enableCodeCop",
"enableAppSourceCop",
"enablePerTenantExtensionCop",
"enableUICop" | ForEach-Object {
"enableUICop",
"useCompilerFolder" | ForEach-Object {
if ($settings."$_") { $runAlPipelineParams += @{ "$_" = $true } }
}

Expand Down
10 changes: 3 additions & 7 deletions Actions/RunPipeline/RunPipeline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,7 @@ try {
}

$analyzeRepoParams = @{}
# If UseCompilerFolder is set, set the parameter on Run-AlPipeline
if ($settings.useCompilerFolder) {
$runAlPipelineParams += @{
"useCompilerFolder" = $true
}
}

if ($artifact) {
# Avoid checking the artifact setting in AnalyzeRepo if we have an artifactUrl
$settings.artifact = $artifact
Expand Down Expand Up @@ -340,7 +335,8 @@ try {
"enableCodeCop",
"enableAppSourceCop",
"enablePerTenantExtensionCop",
"enableUICop" | ForEach-Object {
"enableUICop",
"useCompilerFolder" | ForEach-Object {
if ($settings."$_") { $runAlPipelineParams += @{ "$_" = $true } }
}

Expand Down
1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Note that when using the preview version of AL-Go for GitHub, we recommend you U
- Issue 782 Exclude '.altestrunner/' from template .gitignore
- Issue 823 Dependencies from prior build jobs are not included when using useProjectDependencies
- App artifacts for version 'latest' are now fetched from the latest CICD run that completed and successfully built all the projects for the corresponding branch.
- Issue 824 Utilize `useCompilerFolder` setting when creating an development environment for an AL-Go project.

## v4.0

Expand Down

0 comments on commit b6d7e79

Please sign in to comment.