-
Notifications
You must be signed in to change notification settings - Fork 11
/
conanfile.py
34 lines (22 loc) · 974 Bytes
/
conanfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import os
from QtToolsFish import conans_tools
from QtToolsFish.Conans import QtConanFile
package_name = "InkCanvas"
package_version = "master"
package_user_channel = "cmguo/stable"
class ConanConfig(QtConanFile):
name = package_name
version = package_version
git_url = "[email protected]:windows/talcloud_khaos_inkcanvas"
git_branch = "develop/master"
short_paths = True
exports_sources = "*"
def source(self):
conans_tools.move_dir_files_to_folder(self.get_library_name())
super(ConanConfig, self).source()
def package_include(self):
super(ConanConfig, self).package_include()
if __name__ == '__main__':
conans_tools.remove_cache(package_version=f"{package_name}/{package_version}", user_channel=package_user_channel)
conans_tools.create(user_channel=package_user_channel)
conans_tools.upload(package_version=f"{package_name}/{package_version}", user_channel=package_user_channel)