Raise an error if trying to use NuGet without Curl
m.actionSupportsKind,
m.projectRulesExist,
m.projectValuesInScope,
+ m.NuGetHasHTTP,
}
end
end
+ function m.NuGetHasHTTP(prj)
+ if not http and #prj.nuget > 0 then
+ p.error("Premake was compiled with --no-curl, but Curl is required for NuGet support (project '%s' is referencing NuGet packages)", prj.name)
+ end
+ end
+
+
function m.uniqueProjectIds(wks)
local uuids = {}
for prj in p.workspace.eachproject(wks) do
