加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pack.ps1 574 Bytes
一键复制 编辑 原始数据 按行查看 历史
wuwuwu 提交于 2023-01-05 11:33 . 修改 pack.ps1 ,值打包 Rubyer 项目
# Rebuild all solutions
#dotnet restore
$currentPath=Get-Location
Write-Output $currentPath
# Create publish folder
$publishFolder= Join-Path $currentPath "Publish"
Write-Output "publish folder" $publishFolder
if(!(Test-Path $publishFolder)){
mkdir $publishFolder
Write-Output "Create publish folder"
}
# Delete old packages
Write-Output "Delete old packages"
cd $publishFolder
del *.nupkg
cd ..
# move rubyer folder
$projectName=Join-Path $currentPath "Rubyer"
cd $projectName
# pack
dotnet pack -o $publishFolder -c Release
cd ..
Write-Output "Publish success"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化