This commit is contained in:
shenjack 2023-08-18 23:30:03 +08:00
parent 2ea0138e90
commit 285c5d4a78
Signed by: shenjack
GPG Key ID: 7B1134A979775551
4 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,10 @@
# Change log / 更新日志
## 0.1.1
- 为 `CompilerHelper` 添加了 `remove_output` 的选项
- 用于删除编译后的过程文件
## 0.1.0
- 添加了一些文档

View File

@ -4,5 +4,5 @@
# All rights reserved
# -------------------------------
__version__ = '0.1.0'
__version__ = '0.1.1'

View File

@ -43,6 +43,7 @@ class CompilerHelper(Options):
show_progress: bool = True # --show-progress
show_memory: bool = False # --show-memory
remove_output: bool = True # --remove-output
save_xml: bool = False # --xml
xml_path: Path = Path('build/compile_data.xml')
@ -132,6 +133,7 @@ class CompilerHelper(Options):
_add_cmd(cmd_list, '--disable-ccache' if not self.use_ccache else None)
_add_cmd(cmd_list, '--show-progress' if self.show_progress else None)
_add_cmd(cmd_list, '--show-memory' if self.show_memory else None)
_add_cmd(cmd_list, '--remove-output' if self.remove_output else None)
_add_cmd(cmd_list, '--assume-yes-for-download' if self.download_confirm else None)
_add_cmd(cmd_list, '--run' if self.run_after_build else None)
_add_cmd(cmd_list, '--enable-console' if self.enable_console else '--disable-console')

View File

@ -1,5 +1,5 @@
[project]
version = "0.1.0"
version = "0.1.1"
name = "lib-not-dr"
description = "A python lib created from Difficult Rocket development"
readme = "README.md"
@ -13,10 +13,6 @@ classifiers = [
]
license = { file = "LICENSE" }
dependencies = [
"nepattern>=0.5.10",
]
[project.urls]
Homepage = "https://github.com/shenjackyuanjie/lib-not-dr"
Repository = "https://github.com/shenjackyuanjie/lib-not-dr"