File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,13 @@ $gemToUnpack = "./tiny_tds-$gemVersion-$env:RUBY_ARCHITECTURE.gem"
44Write-Host " Looking to unpack $gemToUnpack "
55gem unpack -- target ./ tmp " $gemToUnpack "
66
7- # Restore precompiled code
7+ # Restore precompiled code (Gem code)
88$source = (Resolve-Path " .\tmp\tiny_tds-$gemVersion -$env: RUBY_ARCHITECTURE \lib\tiny_tds" ).Path
99$destination = (Resolve-Path " .\lib\tiny_tds" ).Path
1010Get-ChildItem $source - Recurse - Exclude " *.rb" | Copy-Item - Destination {Join-Path $destination $_.FullName.Substring ($source.length )}
11+
12+ # Restore precompiled code (ports)
13+ $source = (Resolve-Path " .\tmp\tiny_tds-$gemVersion -$env: RUBY_ARCHITECTURE \ports" ).Path
14+ New-Item - ItemType Directory - Path " .\ports" - Force
15+ $destination = (Resolve-Path " .\ports" ).Path
16+ Get-ChildItem $source - Recurse - Exclude " *.rb" | Copy-Item - Destination {Join-Path $destination $_.FullName.Substring ($source.length )}
You can’t perform that action at this time.
0 commit comments