v10: Cleanup project files (#13111)
* Backport project cleanup from #12907 * Remove empty Directory.Build.props * Fix GenerateAppsettingsSchema target * Re-add empty Directory.Build.props to prevent inheritance * Add NRT to-do comment * Explicitly generate HTTPS development certificate for E2E test
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<!--
|
||||
Keep this empty Directory.Build.props file to prevent inheriting from parent directories,
|
||||
because the Windows E2E test that outputs a new Umbraco project into this directory otherwise won't build.
|
||||
-->
|
||||
</Project>
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="local" value="./nupkg" />
|
||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
|
||||
@@ -11,9 +11,10 @@ COPY nupkg .
|
||||
|
||||
WORKDIR /build
|
||||
RUN dotnet new --install /nupkg/Umbraco.Templates.*.nupkg
|
||||
RUN dotnet new umbraco --name Playwright -o . --no-restore
|
||||
RUN dotnet new umbraco --name Playwright --no-restore --output .
|
||||
RUN dotnet restore --configfile /nuget.config
|
||||
RUN dotnet publish --no-restore --configuration Release -o /dist
|
||||
RUN dotnet build --configuration Release --no-restore
|
||||
RUN dotnet publish --configuration Release --no-build --output /dist
|
||||
|
||||
############################################
|
||||
## Run
|
||||
|
||||
Reference in New Issue
Block a user