blob: 6d05f9e5ce5b5c40e9725e60553bb8ef5c5a0947 [file] [log] [blame]
python_binary(
name = 'onos-app-writer',
main = 'onos_app.py',
deps = [],
visibility = ['PUBLIC'],
)
python_binary(
name = 'onos-app-oar',
main = 'onos_oar.py',
deps = [],
visibility = ['PUBLIC'],
)
python_binary(
name = 'onos-stage',
main = 'onos_stage.py',
deps = [],
visibility = ['PUBLIC'],
)
python_binary(
name = 'onos-feature',
main = 'onos_feature.py',
deps = [],
visibility = ['PUBLIC'],
)
def shquote(s):
return s.replace("'", "'\\''")
def os_path():
from os import environ
return environ.get('PATH')
genrule(
name = 'buck',
cmd = 'echo buck=`which buck`>$OUT;' +
("echo PATH=\''%s'\' >>$OUT;" % shquote(os_path())),
out = 'buck.properties',
visibility = ['PUBLIC'],
)
export_file(
name = 'yang-registrator',
src = 'yang-registrator',
visibility = [ 'PUBLIC' ],
)
export_file(
name = 'yang-schema',
src = 'yang-schema',
visibility = [ 'PUBLIC' ],
)