Commit f9a1c50a authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'bf/nilfunc' into 'master'

Bf/nilfunc

See merge request fsl/fsl-ci-rules!91
parents 5e100dd3 cccfbbdb
......@@ -19,7 +19,7 @@ import subprocess as sp
import yaml
__version__ = '0.16.6'
__version__ = '0.16.7'
"""Current version of the fsl-ci-rules."""
......
......@@ -96,6 +96,9 @@ def load_meta_yaml(filename, ignore_env=False):
by any environment variables in os.environ.
"""
def nil_func(*args, **kwargs):
return "nil"
class OS:
def __init__(self):
self.environ = {}
......@@ -110,9 +113,9 @@ def load_meta_yaml(filename, ignore_env=False):
env = {
'os' : template_os,
'load_setup_py_data' : lambda : {},
'compiler' : lambda : "nil",
'cdt' : lambda : "nil",
'load_setup_py_data' : lambda : {},
'compiler' : nil_func,
'cdt' : nil_func,
'pin_compatible' : lambda pkg: pkg,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment