add pass and lock

This commit is contained in:
shenjack 2023-07-11 00:15:29 +08:00
parent d3612685fc
commit bf3384a76e
2 changed files with 11 additions and 0 deletions

View File

@ -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
View 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]