mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: use default build dir for caching
This commit is contained in:
1 parent
14752440d1
commit
52f3ec4570
1 file changed
+1
-3
+1
-3
@@ -62,8 +62,6 @@ build_params = [
|
||||
"cargo",
|
||||
"build",
|
||||
"--release",
|
||||
"--target-dir",
|
||||
str(dist_dir),
|
||||
"--target",
|
||||
platform,
|
||||
]
|
||||
@@ -80,7 +78,7 @@ if proc.returncode != 0:
|
||||
subfolder = dist_dir.joinpath(build_name)
|
||||
subfolder.mkdir(parents=True)
|
||||
|
||||
output_exe = dist_dir.joinpath("pyapp")
|
||||
output_exe = pyapp_dir.joinpath(f"target/{platform}/release/pyapp")
|
||||
release_exe = subfolder.joinpath(appname)
|
||||
output_exe.rename(release_exe)
|
||||
|
||||
|
||||
Reference in new issue
Block a user