Skip to content

Commit

Permalink
Merge pull request #293 from Ultimaker/NP-186_seperate_cura_resources
Browse files Browse the repository at this point in the history
Set CURA_RESOURCES env
  • Loading branch information
jellespijker committed May 10, 2024
2 parents 91eadc8 + 4d8a30c commit 95b0dcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/conan-package.yml
Expand Up @@ -14,6 +14,7 @@ on:
- master
- 'PP-*'
- 'CURA-*'
- 'NP-*'
- '[0-9].[0-9]*'

jobs:
Expand Down
2 changes: 2 additions & 0 deletions conanfile.py
Expand Up @@ -42,6 +42,8 @@ def package(self):
def package_info(self):
self.cpp_info.includedirs = []
self.cpp_info.resdirs = ["res"]
self.runenv_info.append_path("CURA_RESOURCES", os.path.join(self.package_folder, "res", "resources"))
self.env_info.CURA_RESOURCES.append(os.path.join(self.package_folder, "res", "resources"))

def package_id(self):
self.info.clear()

0 comments on commit 95b0dcd

Please sign in to comment.