Skip to content

Some structural cleanup and updates #53

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 6 commits into from
Apr 24, 2023
Merged

Some structural cleanup and updates #53

merged 6 commits into from
Apr 24, 2023

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Apr 24, 2023

Closes #48

st0012 added 5 commits April 24, 2023 16:20
Conventionally, `test/lib` contains helpers or mock objects for tests.
Projects like Rails and Ruby's default libraries all follow this convention.

So this commit renames `test/lib` to `test/ruby_lsp_rails` as the files
in it are in fact tests for the extension.
@st0012 st0012 added this to the 2023-Q2 milestone Apr 24, 2023
@st0012 st0012 requested a review from a team as a code owner April 24, 2023 17:02
@st0012 st0012 self-assigned this Apr 24, 2023
Copy link
Member

@vinistock vinistock left a comment

Choose a reason for hiding this comment

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

Can we also please update the README, which still says Rails engine?

require "ruby_lsp/internal"
require "syntax_tree"
require "syntax_tree/dsl"
require "minitest/unit"
Copy link
Member

Choose a reason for hiding this comment

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

Won't this print test outputs then running bin/tapioca gem? Is this needed because of mocha?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah currently mocha yells when bin/tapioca gem is run:

MiniTest must be loaded before require 'mocha/minitest'. (RuntimeError)

I thought about testing output too but I actually don't see it:

Screenshot 2023-04-24 at 21 24 07

(I will open a separate PR to bump gem rbis)

@st0012 st0012 merged commit 919c2ea into main Apr 24, 2023
@st0012 st0012 deleted the cleanup branch April 24, 2023 20:27
@shopify-shipit shopify-shipit bot temporarily deployed to production June 30, 2023 19:47 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup legacy structure
2 participants