MCPcopy Create free account
hub / github.com/defold/defold / _set_context

Method _set_context

build_tools/build_android.py:191–196  ·  view source on GitHub ↗
(self, cwd, configfile = None)

Source from the content-addressed store, hash-verified

189 _log(self._log_fn, message)
190
191 def _set_context(self, cwd, configfile = None):
192 self._library_name = get_library_name(cwd)
193 self._library_root = '%s/%s' % (self.device_root, self._library_name)
194 self._configfile = None
195 if configfile:
196 self._configfile = '%s/%s' % (self._library_root, 'unittest.cfg')
197
198 def _ensure_context(self, cwd = None, configfile = None):
199 if cwd:

Callers 2

_ensure_contextMethod · 0.95
prepareMethod · 0.95

Calls 1

get_library_nameFunction · 0.85

Tested by

no test coverage detected