Skip to content

Commit 7e7b5be

Browse files
committed
Remove bin/ruby hacks
From jruby/jruby#8875: * The bash script is now always installed as both `jruby` and `ruby`, so copying or linking is unnecessary. * We now include in our distribution a `ruby.bat` so creating that is unnecessary.
1 parent 93ef02b commit 7e7b5be

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,6 @@ jobs:
115115
ls -l jruby-*-SNAPSHOT/bin
116116
mv jruby-*-SNAPSHOT jruby-head
117117
ls -l jruby-head/bin
118-
- name: Add ruby alias
119-
if: "!startsWith(matrix.os, 'windows')"
120-
run: |
121-
cd jruby-head/bin
122-
ln -s jruby ruby
123-
- name: Add ruby alias (Windows)
124-
if: startsWith(matrix.os, 'windows')
125-
shell: bash
126-
run: |
127-
cd jruby-head/bin
128-
# Copy bash launcher, so 'ruby' works in bash
129-
cp jruby ruby
130-
# Create ruby.bat, so 'ruby' works in pwsh
131-
echo -en "@ECHO OFF\r\n@\"%~dp0jruby.exe\" %*\r\n" > ruby.bat
132-
ls -l
133118
- name: Create archive
134119
run: tar czf jruby-head-${{ steps.platform.outputs.platform }}.tar.gz jruby-head
135120

0 commit comments

Comments
 (0)