Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 739 Bytes
#!/usr/bin/python
import sys
import subprocess
from microbuild import microbuild
@microbuild.task()
def apidoc():
"""
Generate API documentation using epydoc.
"""
subprocess.call(["epydoc","--config","epydoc.config"])
@microbuild.task()
def test():
"""
Run unit tests.
"""
subprocess.call(["python","-m","microbuild.tests.microbuild"])
subprocess.call(["python","-m","microbuild.tests.build_scripts.dependancies","-h"])
subprocess.call(["python","-m","microbuild.tests.build_scripts.dependancies","android"])
subprocess.call(["python","-m","microbuild.tests.build_scripts.runtime_error","android"])
if __name__ == "__main__":
microbuild.build(sys.modules[__name__],sys.argv[1:])
Jump to Line
Something went wrong with that request. Please try again.