Skip to content

Commit

Permalink
Ability for library package to have a resources file
Browse files Browse the repository at this point in the history
  • Loading branch information
donker committed Sep 21, 2021
1 parent 1a612cb commit 18608f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Manifest/Manifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ private void AddPackage(Project project)
components.AddScripts(project, Solution.version, Solution.dnn.pathsAndFiles.packageScriptsFolder);
components.AddAssemblies(project, Solution.dnn.pathsAndFiles.pathToAssemblies, Solution.dnn.pathsAndFiles.packageAssembliesFolder);
components.AddCleanupFiles(project, Solution.dnn.pathsAndFiles.packageCleanupFolder);
if (project.mustIncludeResources)
{
components.AddResourceComponent(project);
}
package.AppendChild(components);
break;
case ProjectType.skin:
Expand Down
2 changes: 2 additions & 0 deletions Project.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public class Project

public bool packageSeparately { get; set; } = false;

public bool mustIncludeResources { get; set; } = false;

public DnnModule module { get; set; }

public DnnConfig config { get; set; }
Expand Down

0 comments on commit 18608f0

Please sign in to comment.