-
Notifications
You must be signed in to change notification settings - Fork 0
/
pogfile.py
22 lines (16 loc) · 868 Bytes
/
pogfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# do not look for pogfiles in this directory
# exclude_paths = ["dont_include"]
# these files/directories shall be imported, even if they're out of path or if they're
# include_paths = ["test_simple.py", "dont_include/test_anyway/"]
# autoindex = False # change this to true to automatically search for pogfile.py in inferior directories.
@job()
def clean():
env.run('rm', '-rf', 'zig-cache', 'zig-out')
@job(desc="Build Halcyon shared library")
def Halcyon():
print("invoking zig build")
env.run("zig", "build", "--verbose-link", "-Dtarget=x86_64-windows-msvc",)
os.makedirs(os.path.join(orig_dir, '../../../Binaries/ThirdParty/Halcyon/'), exist_ok = True)
exestr = "cp -r ./zig-out/lib/* " + os.path.abspath(os.path.join(orig_dir, '../../../Binaries/ThirdParty/Halcyon/'))
print(exestr)
env.system(exestr)