
This pull request introduces a dynamic ProjectName parameter across our build process, enhancing flexibility and reducing hardcoding in our module and theme development workflow. The changes affect the project file, NuSpec file, command scripts.
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
|
<metadata>
|
|
<id>$projectname$</id>
|
|
<version>1.0.0</version>
|
|
<authors>[Owner]</authors>
|
|
<owners>[Owner]</owners>
|
|
<title>[Module]</title>
|
|
<description>[Description]</description>
|
|
<copyright>[Owner]</copyright>
|
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
|
<license type="expression">MIT</license>
|
|
<projectUrl>https://github.com/oqtane/oqtane.framework</projectUrl>
|
|
<icon>icon.png</icon>
|
|
<tags>oqtane module</tags>
|
|
<releaseNotes></releaseNotes>
|
|
<summary></summary>
|
|
<dependencies>
|
|
<dependency id="Oqtane.Framework" version="[FrameworkVersion]" />
|
|
</dependencies>
|
|
</metadata>
|
|
<files>
|
|
<file src="..\Client\bin\Release\$targetframework$\$ProjectName$.Client.Oqtane.dll" target="lib\$targetframework$" />
|
|
<file src="..\Client\bin\Release\$targetframework$\$ProjectName$.Client.Oqtane.pdb" target="lib\$targetframework$" />
|
|
<file src="..\Server\bin\Release\$targetframework$\$ProjectName$.Server.Oqtane.dll" target="lib\$targetframework$" />
|
|
<file src="..\Server\bin\Release\$targetframework$\$ProjectName$.Server.Oqtane.pdb" target="lib\$targetframework$" />
|
|
<file src="..\Shared\bin\Release\$targetframework$\$ProjectName$.Shared.Oqtane.dll" target="lib\$targetframework$" />
|
|
<file src="..\Shared\bin\Release\$targetframework$\$ProjectName$.Shared.Oqtane.pdb" target="lib\$targetframework$" />
|
|
<file src="..\Server\wwwroot\**\*.*" target="wwwroot" />
|
|
<file src="icon.png" target="" />
|
|
</files>
|
|
</package>
|