mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
Minor edits to AppVeyor build scripts
This commit is contained in:
parent
489078763d
commit
9c4e4d27c8
@ -177,11 +177,6 @@
|
||||
<Command>copy $(TargetPath) $(SolutionDir)..\$(TargetFileName)</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="src\version.rc2">
|
||||
<FileType>RC</FileType>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="src\resource.rc">
|
||||
<FileType>RC</FileType>
|
||||
|
@ -51,8 +51,8 @@ function Flatten-Directory($name) {
|
||||
$name = Resolve-Path $name
|
||||
$moving = "$($name)_moving"
|
||||
Rename-Item $name -NewName $moving
|
||||
$child = Resolve-Path (Get-Childitem $moving)[0]
|
||||
Write-Verbose "Moving the '$child' directory to '$name'"
|
||||
Write-Verbose "Flattening the '$name' directory..."
|
||||
$child = (Get-Childitem $moving)[0] | Resolve-Path
|
||||
Move-Item -Path $child -Destination $name
|
||||
Remove-Item -Recurse $moving
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user