File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3
3
import sys
4
4
5
5
def run_cmd (cmd ):
6
- print (f"➡️ Running: { cmd } " )
6
+ print (f"Running: { cmd } " )
7
7
result = subprocess .run (cmd , shell = True )
8
8
if result .returncode != 0 :
9
- print (f"❌ Command failed: { cmd } " , file = sys .stderr )
9
+ print (f"Command failed: { cmd } " , file = sys .stderr )
10
10
sys .exit (result .returncode )
11
11
12
12
if __name__ == "__main__" :
@@ -16,11 +16,11 @@ def run_cmd(cmd):
16
16
args = parser .parse_args ()
17
17
18
18
if args .clean :
19
- response = input ("⚠️ Warning: Executing `git clean -fdx` [Y/N]: " )
19
+ response = input ("Warning: Executing `git clean -fdx` [Y/N]: " )
20
20
if response .lower () in ("y" , "yes" ):
21
21
run_cmd ("git clean -fdx" )
22
22
else :
23
- print ("ℹ️ Skipping clean step." )
23
+ print ("Skipping clean step." )
24
24
25
25
run_cmd ("python scripts/build/add_dummy_submodules.py" )
26
26
run_cmd ("pip install -e . --verbose" )
Original file line number Diff line number Diff line change 4
4
import sys
5
5
6
6
def run_cmd (cmd ):
7
- print (f"➡️ Running: { cmd } " )
7
+ print (f"Running: { cmd } " )
8
8
result = subprocess .run (cmd , shell = True )
9
9
if result .returncode != 0 :
10
- print (f"❌ Command failed: { cmd } " , file = sys .stderr )
10
+ print (f"Command failed: { cmd } " , file = sys .stderr )
11
11
sys .exit (result .returncode )
12
12
13
13
if __name__ == "__main__" :
@@ -16,11 +16,11 @@ def run_cmd(cmd):
16
16
args = parser .parse_args ()
17
17
18
18
if args .clean :
19
- response = input ("⚠️ Warning: Executing `git clean -fdx` [Y/N]: " )
19
+ response = input ("Warning: Executing `git clean -fdx` [Y/N]: " )
20
20
if response .lower () in ("y" , "yes" ):
21
21
run_cmd ("git clean -fdx" )
22
22
else :
23
- print ("ℹ️ Skipping clean step." )
23
+ print ("Skipping clean step." )
24
24
25
25
run_cmd ("python scripts/build/add_dummy_submodules.py" )
26
26
run_cmd ("python setup.py build_ext --inplace" )
You can’t perform that action at this time.
0 commit comments