Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] 更丰富的 build 脚本 #35

Open
jamesnulliu opened this issue Dec 27, 2024 · 0 comments
Open

[FEATURE] 更丰富的 build 脚本 #35

jamesnulliu opened this issue Dec 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jamesnulliu
Copy link
Member

需求描述
为兼容各平台和用户习惯提供更丰富的 build 脚本.

解决方案
基于当前的 ./scripts/build.sh, 额外提供:

  • ./scripts/build.bat
  • ./scripts/build.ps1

其他信息
Powershell 在 windows 上默认禁止运行脚本; 可能需要提前执行命令:

# Set Execution Policy for CurrentUser
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

以及

# Set Execution Policy for Process
[System.Environment]::SetEnvironmentVariable('PSExecutionPolicyPreference', 'RemoteSigned', [System.EnvironmentVariableTarget]::User)
@jamesnulliu jamesnulliu added the enhancement New feature or request label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant