Add npm, maven, conan configs (excluding cache)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
def pre_export(output, conanfile, conanfile_path, reference, **kwargs):
|
||||
# Check basic meta-data
|
||||
for field in ["url", "license", "description"]:
|
||||
field_value = getattr(conanfile, field, None)
|
||||
if not field_value:
|
||||
output.warn("Conanfile doesn't have '%s'. It is recommended to add it as attribute"
|
||||
% field)
|
||||
@@ -0,0 +1,8 @@
|
||||
from conans import tools
|
||||
import requests
|
||||
|
||||
def pre_download_recipe(output, reference, remote, **kwargs):
|
||||
raise Exception(f"recipe downloads disabled: {reference}")
|
||||
|
||||
def pre_download_package(output, conanfile_path, reference, package_id, remote, **kwargs):
|
||||
raise Exception(f"package downloads disabled: {reference} ({package_id})")
|
||||
Reference in New Issue
Block a user