def __init__(self, project, config): BuildCmd.__init__(self) self._project = project self._config = config cwd = os.getcwd() trans = { " " : "_", "(" : None, ")" : None, "[" : None, "]" : None, "," : None } self._log = cwd + "\\UV4_{0}_{1}.log".format(self._config.translate(trans), datetime.now().strftime("%Y%m%d%H%M%S"))
def __init__(self, project, config): BuildCmd.__init__(self) self._project = project self._config = config self._log = "UV4_{0}_{1}.log".format( self._config.translate(maketrans(" ", "_"), "()[],"), datetime.now().strftime("%Y%m%d%H%M%S"))
def __init__(self, project, config, env=os.environ): BuildCmd.__init__(self, env=env) self._project = project self._config = config self._log = "iar_{0}.log".format( datetime.now().strftime("%Y%m%d%H%M%S")) self._env = env
def __init__(self, project, config, env=os.environ, subcmd="build"): BuildCmd.__init__(self, env=env) self._project = project self._config = config self._subcmd = subcmd self._rtebuild = shutil.which("rtebuild.py") if not self._rtebuild: raise FileNotFoundError("rtebuild.py")
def __init__(self, project, config): BuildCmd.__init__(self) self._project = project self._config = config workspace = os.getenv('WORKSPACE') if workspace: self._workspace = os.path.join(workspace, "eclipse") else: self._workspace = os.getenv('DSMDK_WORKSPACE') if not self._workspace: raise RuntimeError( "No DS-MDK workspace found, set either DSMDK_WORKSPACE or WORKSPACE in environment!" )
def __init__(self, project, config): BuildCmd.__init__(self) self._project = project self._config = config self._log = "iar_{0}.log".format(datetime.now().strftime("%Y%m%d%H%M%S"))
def __init__(self, project, config, subcmd="build"): BuildCmd.__init__(self) self._project = project self._config = config self._subcmd = subcmd
def __init__(self, path, project, **kwargs): BuildCmd.__init__(self) self._path = path self._project = project self._workspace = kwargs['workspace'] print self._workspace
def __init__(self, model, app, **args): BuildCmd.__init__(self) self._model = model self._app = app self._args = args
def __init__(self): BuildCmd.__init__(self)
def __init__(self, project, config): BuildCmd.__init__(self) self._project = project self._config = config self._log = "UV4_{0}_{1}.log".format(self._config.translate(maketrans(" ", "_"), "()[],"), datetime.now().strftime("%Y%m%d%H%M%S"))
def __init__(self, project, config, env=os.environ): BuildCmd.__init__(self, env=env) self._project = project self._config = config