mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Moved pycharm_targets to conandata
Added individual tests. Still not everything Contributes to CURA-8827
This commit is contained in:
parent
a0f32c403d
commit
c5acaa768b
3 changed files with 119 additions and 30 deletions
25
conanfile.py
25
conanfile.py
|
@ -52,28 +52,9 @@ class CuraConan(ConanFile):
|
|||
"revision": "auto"
|
||||
}
|
||||
|
||||
# TODO: Add unit tests (but they need a different jinja template
|
||||
_pycharm_targets = [
|
||||
{
|
||||
"name": "cura",
|
||||
"module_name": "Cura",
|
||||
"script_name": "cura_app.py",
|
||||
"jinja_path": ".run_templates/pycharm_cura_run.run.xml.jinja"
|
||||
},
|
||||
{
|
||||
"name": "cura_external_engine",
|
||||
"module_name": "Cura",
|
||||
"script_name": "cura_app.py",
|
||||
"parameters": "--external-backend",
|
||||
"jinja_path": ".run_templates/pycharm_cura_run.run.xml.jinja"
|
||||
},
|
||||
{
|
||||
"name": "cura_test",
|
||||
"module_name": "Cura",
|
||||
"script_name": "run_coverage.py",
|
||||
"jinja_path": ".run_templates/pycharm_cura_test.run.xml.jinja"
|
||||
},
|
||||
]
|
||||
@property
|
||||
def _pycharm_targets(self):
|
||||
return self.conan_data["pycharm_targets"]
|
||||
|
||||
# FIXME: These env vars should be defined in the runenv.
|
||||
_cura_env = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue