Skip to content

Commit 2622328

Browse files
committed
silence spurious warning in arsd package
1 parent 52fd928 commit 2622328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/dub/project.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ class Project {
797797
if (shallow && pkg !is m_rootPackage)
798798
psettings.sourceFiles = null;
799799
processVars(dst, this, pkg, psettings, gsettings);
800-
if (!gsettings.single && psettings.importPaths.empty)
800+
if (!gsettings.single && psettings.importPaths.empty && !pkg.name.startsWith("arsd-official:"))
801801
logWarn(`Package %s (configuration "%s") defines no import paths, use {"importPaths": [...]} or the default package directory structure to fix this.`, pkg.name, configs[pkg.name]);
802802
if (psettings.mainSourceFile.empty && pkg is m_rootPackage && psettings.targetType == TargetType.executable)
803803
logWarn(`Executable configuration "%s" of package %s defines no main source file, this may cause certain build modes to fail. Add an explicit "mainSourceFile" to the package description to fix this.`, configs[pkg.name], pkg.name);

0 commit comments

Comments
 (0)