Skip to content

Commit

Permalink
Merge all ps lines for patching rb-readline together
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Apr 12, 2020
1 parent e2b88f6 commit b408784
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ jobs:
with:
ruby-version: ${{ matrix.version }}

- name: Clone patched rb-readline
shell: cmd
run: git clone -q --depth=5 --no-tags --branch=byebug https://github.com/deivid-rodriguez/rb-readline.git C:\rb-readline

- name: Install patched rb-readline
- name: Patch rb-readline
run: |
git clone -q --depth=5 --no-tags --branch=byebug https://github.com/deivid-rodriguez/rb-readline.git C:\rb-readline
$env:n_dir = (&ruby.exe -e "puts RbConfig::CONFIG['sitelibdir']" | Out-String).Trim()
Copy-Item -Path C:\rb-readline\lib\readline.rb -Destination $env:n_dir\readline.rb
Copy-Item -Path C:\rb-readline\lib\rbreadline.rb -Destination $env:n_dir\rbreadline.rb
Expand Down

0 comments on commit b408784

Please sign in to comment.