Skip to content

Commit e5acb7c

Browse files
committed
Fix build arguments (fix #21)
1 parent d6f052a commit e5acb7c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# A simple script to build TimeKeeper and generate
22
# packages for different operating systems
33
#
4+
# USAGE:
5+
# python ./build.py [win/lin]
6+
#
47
# (C) 2025 Michail Krasnov <michail383krasnov@mail.ru>
58

69
#########################################################
@@ -103,7 +106,7 @@ def rmdir(self, dir: str):
103106
sys.exit(1)
104107

105108
def build(self):
106-
subprocess.run("cargo build --release")
109+
subprocess.run(["cargo", "build", "--release"])
107110

108111
def copy_files(self):
109112
for file in INCLUDED_FILES:

0 commit comments

Comments
 (0)