3 from buildcmd import BuildCmd
4 from datetime import datetime
7 class IarCmd(BuildCmd):
9 def __init__(self, project, config):
10 BuildCmd.__init__(self)
11 self._project = project
13 self._log = "iar_{0}.log".format(datetime.now().strftime("%Y%m%d%H%M%S"))
18 def getArguments(self):
19 return [ self._project, "-build", self._config ]
22 return self._result <= 1
26 return open(self._log, "r")