Skip to content

Commit dcf5107

Browse files
committed
🚑 Fix xmake -y
1 parent cc5f998 commit dcf5107

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/xmake_python/xmake.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@ def config(self):
2222
cmd = [
2323
self.xmake,
2424
"config",
25-
"-yP",
25+
"-y",
26+
"-P",
2627
self.tempname,
2728
] + split(self.command)
2829
run(cmd)
2930

3031
def build(self):
31-
cmd = [self.xmake, "-yP", self.tempname, "--verbose"]
32+
cmd = [self.xmake, "-y", "-P", self.tempname, "--verbose"]
3233
run(cmd)
3334

3435
def install(self):
35-
cmd = [self.xmake, "install", "-yP", self.tempname, "-o", self.tempname]
36+
cmd = [self.xmake, "install", "-y", "-P", self.tempname, "-o", self.tempname]
3637
run(cmd)

0 commit comments

Comments
 (0)