many commit!
This commit is contained in:
parent
0ed5299278
commit
0f053d9133
@ -16,8 +16,8 @@ from Difficult_Rocket.api.types import Options
|
||||
|
||||
from libs.MCDR.version import Version
|
||||
|
||||
game_version = Version("0.8.0.0") # 游戏版本
|
||||
build_version = Version("1.2.1.0") # 编译文件版本(与游戏本体无关)
|
||||
game_version = Version("0.8.1.0") # 游戏版本
|
||||
build_version = Version("1.3.0.0") # 编译文件版本(与游戏本体无关)
|
||||
Api_version = Version("0.1.1.0") # API 版本
|
||||
__version__ = game_version
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
[关于版本号的说明](./docs/src/version.md)
|
||||
|
||||
[![Generic badge](https://img.shields.io/badge/Release-0.8.0.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.0.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.0.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
|
||||
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||
|
@ -20,7 +20,7 @@
|
||||
[About Versions](src/version.md)
|
||||
|
||||
[![Generic badge](https://img.shields.io/badge/Release-0.8.0.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.0.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.0.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.1-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
|
||||
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||
|
12
docs/src/change_log/build_file.md
Normal file
12
docs/src/change_log/build_file.md
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
# DR 构建 更新日志
|
||||
|
||||
- 最新构建版本号
|
||||
- build_version: 1.3.0.0
|
||||
|
||||
|
||||
|
||||
## 20230609 build 1.3.0.0
|
||||
|
||||
- 修改
|
||||
- 向 `bifollow-import-to` 添加 `pydoc`
|
@ -15,3 +15,7 @@
|
||||
|
||||
- `api.types`
|
||||
- 添加 `Version` (`libs.MCDR.version.Version`)
|
||||
|
||||
### 修复 Bug
|
||||
|
||||
- 自带的 `console` 类在 `get_command` 时 没有检查是否为空
|
||||
|
@ -1,48 +0,0 @@
|
||||
$start_time = Get-Uptime
|
||||
Write-Output $start_time
|
||||
|
||||
python3 .github/workflows/get_info.py -env
|
||||
|
||||
if (-Not (Test-Path -Path "./.github/workflows/env.ps1"))
|
||||
{
|
||||
Throw "No env file found as ./github/workflows/env.ps1 !"
|
||||
}
|
||||
|
||||
./.github/workflows/env.ps1
|
||||
|
||||
$arg = @()
|
||||
# 输出配置
|
||||
$arg += @("--standalone")
|
||||
$arg += @("--output-dir=build/nuitka-mac")
|
||||
$arg += @("--company-name=tool-shenjack-workshop")
|
||||
$arg += @("--product-name=Difficult-Rocket")
|
||||
$arg += @("--product-version=$env:DR_version")
|
||||
$arg += @("--file-version=$env:Build_version")
|
||||
$arg += @("--file-description=Difficult-Rocket!")
|
||||
$arg += @("--macos-app-icon=textures/icon.png")
|
||||
# 编译器配置
|
||||
$arg += @("--clang")
|
||||
$arg += @("--lto=no")
|
||||
# 包配置
|
||||
$arg += @("--nofollow-import-to=objprint,pillow,PIL,cffi,pydoc")
|
||||
$arg += @("--follow-import-to=pyglet")
|
||||
# 数据配置
|
||||
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
|
||||
$arg += @("--include-data-dir=./textures=./textures")
|
||||
$arg += @("--include-data-dir=./configs=./configs")
|
||||
$arg += @("--include-package=Difficult_Rocket.api")
|
||||
# 编译配置
|
||||
$arg += @("--show-memory")
|
||||
$arg += @("--show-progress")
|
||||
python3.9 -m nuitka $arg $args DR.py
|
||||
|
||||
$end_time = Get-Uptime
|
||||
$out = $end_time.TotalMilliseconds - $start_time.TotalMilliseconds
|
||||
|
||||
Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s
|
||||
Write-Output $start_time $end_time
|
||||
Write-Output "--clang --lto=no and ($args)"
|
||||
|
||||
# --include-data-dir=./libs/pyglet=./pyglet
|
||||
# --run
|
||||
# --disable-ccache
|
@ -1,49 +0,0 @@
|
||||
$start_time = Get-Uptime
|
||||
Write-Output $start_time
|
||||
|
||||
python .\.github\workflows\get_info.py -env
|
||||
|
||||
if (-Not (Test-Path -Path "./.github/workflows/env.ps1"))
|
||||
{
|
||||
Throw "No env file found as ./github/workflows/env.ps1 !"
|
||||
}
|
||||
|
||||
./.github/workflows/env.ps1
|
||||
|
||||
$arg = @()
|
||||
# 输出配置
|
||||
$arg += @("--standalone")
|
||||
$arg += @("--output-dir=build/nuitka-win")
|
||||
$arg += @("--company-name=tool-shenjack-workshop")
|
||||
$arg += @("--product-name=Difficult-Rocket")
|
||||
$arg += @("--product-version=$env:DR_version")
|
||||
$arg += @("--file-version=$env:Build_version")
|
||||
$arg += @("--file-description=Difficult-Rocket!")
|
||||
$arg += @("--windows-icon-from-ico=textures/icon.png")
|
||||
#$arg += @("--macos-app-icon=textures/icon.png")
|
||||
# 编译器配置
|
||||
$arg += @("--msvc=latest")
|
||||
$arg += @("--clang")
|
||||
$arg += @("--lto=no")
|
||||
# 包配置
|
||||
$arg += @("--nofollow-import-to=objprint,pillow,PIL,cffi,pydoc")
|
||||
$arg += @("--follow-import-to=pyglet")
|
||||
# 数据配置
|
||||
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
|
||||
$arg += @("--include-data-dir=./textures=./textures")
|
||||
$arg += @("--include-data-dir=./configs=./configs")
|
||||
$arg += @("--include-package=Difficult_Rocket.api")
|
||||
# 编译配置
|
||||
$arg += @("--show-memory")
|
||||
$arg += @("--show-progress")
|
||||
python3.8.exe -m nuitka $arg $args DR.py
|
||||
|
||||
$end_time = Get-Uptime
|
||||
$out = $end_time.TotalMilliseconds - $start_time.TotalMilliseconds
|
||||
Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s
|
||||
Write-Output $start_time $end_time
|
||||
Write-Output "--clang --msvc=latest --lto=no and $args"
|
||||
|
||||
# --include-data-dir=./libs/pyglet=./pyglet
|
||||
# --run
|
||||
# --disable-ccache
|
@ -6,7 +6,7 @@ build-backend = "pdm.pep517.api"
|
||||
|
||||
[project]
|
||||
name = "difficult-rocket"
|
||||
version = "0.8.0.0"
|
||||
version = "0.8.1.0"
|
||||
description = "A rocket game"
|
||||
authors = [
|
||||
{name = "shenjackyuanjie", email = "3695888@qq.com"}
|
||||
|
Loading…
Reference in New Issue
Block a user