Skip to content

feat: support out of the project files #160

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 10 commits into from
Jun 13, 2021
Merged

Conversation

aminya
Copy link
Member

@aminya aminya commented Jun 10, 2021

@aminya aminya added the enhancement New feature or request label Jun 10, 2021
@aminya aminya changed the title feat: allow overriding determineProjectPath feat: support out of the project files Jun 10, 2021
@aminya aminya force-pushed the configuring-project-path branch from e471c23 to dba8dc1 Compare June 10, 2021 12:13
@aminya aminya force-pushed the configuring-project-path branch from dba8dc1 to 500d2d0 Compare June 10, 2021 12:44
@aminya aminya force-pushed the configuring-project-path branch from 500d2d0 to 47773e9 Compare June 10, 2021 12:48
@UziTech
Copy link
Member

UziTech commented Jun 10, 2021

We should add tests before this is merged.

@aminya aminya force-pushed the configuring-project-path branch from d58b5e7 to 92da849 Compare June 11, 2021 20:03
@aminya aminya force-pushed the configuring-project-path branch from 92da849 to bb2eefc Compare June 11, 2021 20:05
@aminya
Copy link
Member Author

aminya commented Jun 11, 2021

Ready to go

expect(projectPath).toBeNull()
})
it("returns the project path when a file of that project is open", async () => {
// macos has issues with handling too much resources
Copy link
Member

Choose a reason for hiding this comment

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

is this just an issue on GitHub actions or would this crash Atom if run on a Mac?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because the number of tests is high, MacOS can't run all of them. It works fine if each of the tests runs in a single process. There is nothing OS-specific in the code, so this is a limitation of the operating system.

@aminya aminya force-pushed the configuring-project-path branch 2 times, most recently from 724f538 to 42d2f3a Compare June 11, 2021 21:43
@aminya aminya force-pushed the configuring-project-path branch from 42d2f3a to 50fe3d8 Compare June 11, 2021 21:46
@aminya aminya merged commit 69c6d3a into master Jun 13, 2021
@aminya aminya deleted the configuring-project-path branch June 13, 2021 07:18
@github-actions
Copy link

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants