Last active
June 19, 2019 08:38
-
-
Save hgn/d8c52843d43d44cd6f936c2afcd34c48 to your computer and use it in GitHub Desktop.
Python Builddriver API Brainstorming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import builddriver | |
result = builddriver.execute("make debug") | |
result.status() | |
# can be True or False | |
result.log() | |
# return a path where the output is captured (/tmp/foo.log) | |
result.tail() | |
# return the last 30 lines of the executing output | |
result.warnings() | |
# return a list of all warnings | |
result.errors() | |
# return a list of all errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment