0.1.1
This commit is contained in:
parent
2ea0138e90
commit
285c5d4a78
@ -1,5 +1,10 @@
|
|||||||
# Change log / 更新日志
|
# Change log / 更新日志
|
||||||
|
|
||||||
|
## 0.1.1
|
||||||
|
|
||||||
|
- 为 `CompilerHelper` 添加了 `remove_output` 的选项
|
||||||
|
- 用于删除编译后的过程文件
|
||||||
|
|
||||||
## 0.1.0
|
## 0.1.0
|
||||||
|
|
||||||
- 添加了一些文档
|
- 添加了一些文档
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
__version__ = '0.1.0'
|
__version__ = '0.1.1'
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ class CompilerHelper(Options):
|
|||||||
|
|
||||||
show_progress: bool = True # --show-progress
|
show_progress: bool = True # --show-progress
|
||||||
show_memory: bool = False # --show-memory
|
show_memory: bool = False # --show-memory
|
||||||
|
remove_output: bool = True # --remove-output
|
||||||
save_xml: bool = False # --xml
|
save_xml: bool = False # --xml
|
||||||
xml_path: Path = Path('build/compile_data.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, '--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-progress' if self.show_progress else None)
|
||||||
_add_cmd(cmd_list, '--show-memory' if self.show_memory 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, '--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, '--run' if self.run_after_build else None)
|
||||||
_add_cmd(cmd_list, '--enable-console' if self.enable_console else '--disable-console')
|
_add_cmd(cmd_list, '--enable-console' if self.enable_console else '--disable-console')
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[project]
|
[project]
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
name = "lib-not-dr"
|
name = "lib-not-dr"
|
||||||
description = "A python lib created from Difficult Rocket development"
|
description = "A python lib created from Difficult Rocket development"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@ -13,10 +13,6 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
"nepattern>=0.5.10",
|
|
||||||
]
|
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://github.com/shenjackyuanjie/lib-not-dr"
|
Homepage = "https://github.com/shenjackyuanjie/lib-not-dr"
|
||||||
Repository = "https://github.com/shenjackyuanjie/lib-not-dr"
|
Repository = "https://github.com/shenjackyuanjie/lib-not-dr"
|
||||||
|
Loading…
Reference in New Issue
Block a user