blob: 9861c498c2c587fa8d4a35ef4c8347322733203b [file] [log] [blame]
#!/usr/bin/env python3
# Copyright 2019 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Build the library deliverables."""
import sys
import hterm
import libdot # pylint: disable=wrong-import-order
def get_parser():
"""Get a command line parser."""
parser = libdot.ArgumentParser(description=__doc__)
return parser
def main(argv):
"""The main func!"""
parser = get_parser()
_opts = parser.parse_args(argv)
libdot.run([libdot.BIN_DIR / "mkdist"])
libdot.node.run(["rollup", "-c"], cwd=hterm.DIR)
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))