Skip to content
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

chore(bin): Add bin/console for better DX #1132

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

okuramasafumi
Copy link
Contributor

I wanted to try RDoc methods and noticed there's no bin dir. This bin/console loads doc/rdoc/markup_reference for easy testing and debugging.

require 'bundler/setup'
require 'rdoc'

require_relative '../doc/rdoc/markup_reference'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to add a comment to explain why this is needed for future reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

I wanted to try RDoc methods and noticed there's no `bin` dir.
This `bin/console` loads `doc/rdoc/markup_reference` for easy
testing and debugging.
Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! But do remember to include this file in #1125 after rebasing 🙂

@st0012 st0012 merged commit 0482993 into ruby:master Jul 6, 2024
22 checks passed
@okuramasafumi okuramasafumi deleted the bin-console branch July 7, 2024 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants