Skip to content

Commit aceaebd

Browse files
committed
Add a SHORT_TAG_NAMES constant for Debug configurations
1 parent 04449ab commit aceaebd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
run: just format --verify-no-changes
4949

5050
- name: Build
51-
run: just build --configuration Release --no-restore /p:GeneratePackageOnBuild=false
51+
run: |
52+
just build --configuration Debug --no-restore /p:GeneratePackageOnBuild=false
53+
just build --configuration Release --no-restore /p:GeneratePackageOnBuild=false
5254
5355
- name: Install Playwright
5456
run: just install-playwright

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
<_NpmLibDirectory>$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'lib', 'govuk-frontend-$(GovUkFrontendVersion)'))</_NpmLibDirectory>
1717
<GovUkFrontendLibrary>$([MSBuild]::NormalizeDirectory('$(_NpmLibDirectory)', 'dist', 'govuk'))</GovUkFrontendLibrary>
18+
19+
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);SHORT_TAG_NAMES</DefineConstants>
1820
</PropertyGroup>
1921

2022
<ItemGroup Condition="'$(IsTestProject)' == 'true'">

0 commit comments

Comments
 (0)