Repository navigation
Call the interpreter ironruby, as JRuby's is jruby; ir stays its short name #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c261ee6
Call the interpreter ironruby, as JRuby's is jruby; ir stays its shor…
Largo ccb5fbf
Release: render the launch video only when asked for
Largo 970e223
ironruby with no script reads the program from stdin, as ruby does
Largo db5b32c
ironrubyw.exe, as rubyw.exe and jrubyw.exe; remove the dead irw project
Largo e4c9411
CI: move the subsystem check out of the if, where its heredoc never e…
Largo 836ef6a
Address review: release check stops, ironrubyw incremental, docs
Largo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,21 @@ | ||
| @echo off | ||
| rem IronRuby Notepad. Double-click it, drop a file on it, or run: notepad.cmd file.txt | ||
| rem | ||
| rem ir.exe is a console program, so Windows gives it a console window. "start /b" leaves | ||
| rem that console to ir.exe alone once this batch file has ended, and notepad.rb then | ||
| rem lets go of it, which closes the window. To keep the console for Ruby's output, run | ||
| rem ..\..\ir.cmd notepad.rb instead. The build is chosen as ir.cmd chooses it. | ||
| rem ironrubyw.exe is ironruby without a console window, as rubyw.exe is ruby's: a Windows | ||
| rem Forms program has no use for one. To keep a console for Ruby's output, run | ||
| rem ..\..\ironruby.cmd notepad.rb instead. The build is chosen as ironruby.cmd chooses it. | ||
| rem | ||
| rem A build from before ironrubyw has only ir.exe, a console program, which Windows gives | ||
| rem a console window: "start /b" leaves that console to ir.exe alone once this batch file | ||
| rem has ended, and notepad.rb then lets go of it, which closes the window. (Single-line | ||
| rem ifs: a dropped file name with a ")" in it would end a parenthesized block.) | ||
| setlocal | ||
| set "IR_ROOT=%~dp0..\.." | ||
| if "%IR_CONFIG%"=="" if not exist "%IR_ROOT%\Src\Console\bin\Debug\" if exist "%IR_ROOT%\Src\Console\bin\Release\" set "IR_CONFIG=Release" | ||
| if "%IR_CONFIG%"=="" set "IR_CONFIG=Debug" | ||
| if "%IR_TFM%"=="" set "IR_TFM=net8.0" | ||
| set "IR_BIN=%IR_ROOT%\Src\Console\bin\%IR_CONFIG%\%IR_TFM%\win-x64\ir.exe" | ||
| if not exist "%IR_BIN%" set "IR_BIN=%IR_ROOT%\Src\Console\bin\%IR_CONFIG%\%IR_TFM%\ir.exe" | ||
| set "IR_DIR=%IR_ROOT%\Src\Console\bin\%IR_CONFIG%\%IR_TFM%\win-x64" | ||
| if not exist "%IR_DIR%\ir.exe" set "IR_DIR=%IR_ROOT%\Src\Console\bin\%IR_CONFIG%\%IR_TFM%" | ||
| set "S=%IR_ROOT%\Src\StdLib" | ||
| start "" /b "%IR_BIN%" "-X:StdLib=%S%\ironruby;%S%\ruby\4.0" "%~dp0notepad.rb" %* | ||
| if exist "%IR_DIR%\ironrubyw.exe" start "" "%IR_DIR%\ironrubyw.exe" "-X:StdLib=%S%\ironruby;%S%\ruby\4.0" "%~dp0notepad.rb" %* | ||
| if not exist "%IR_DIR%\ironrubyw.exe" start "" /b "%IR_DIR%\ir.exe" "-X:StdLib=%S%\ironruby;%S%\ruby\4.0" "%~dp0notepad.rb" %* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.