add pass and lock
This commit is contained in:
parent
d3612685fc
commit
bf3384a76e
@ -57,6 +57,7 @@ elif '-n' in sys.argv or '--no' in sys.argv:
|
||||
do_run = False
|
||||
else: # do_run is None
|
||||
while (do_run := input("compile? [y/n]").lower()) not in ["y", "n", "yes", "no"]:
|
||||
pass
|
||||
# 获取用户输入是否编译
|
||||
# get user confirmation to compile or not
|
||||
do_run = True if do_run[0] == "y" else False
|
||||
|
10
pdm.lock
Normal file
10
pdm.lock
Normal file
@ -0,0 +1,10 @@
|
||||
# This file is @generated by PDM.
|
||||
# It is not intended for manual editing.
|
||||
|
||||
[metadata]
|
||||
lock_version = "4.2"
|
||||
cross_platform = true
|
||||
groups = ["default"]
|
||||
content_hash = "sha256:cb30ff0b06924f6f0d5f726b84c255686a2e277a4180b00b7b6e427c05ca202b"
|
||||
|
||||
[metadata.files]
|
Loading…
Reference in New Issue
Block a user