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

Compute project directory as what's activated, not pwd, like ]test does #54

Open
NHDaly opened this issue Nov 19, 2024 · 0 comments
Open

Comments

@NHDaly
Copy link

NHDaly commented Nov 19, 2024

It looks like there's a TODO note here already, but just creating an issue to track it:

project = pwd(), # run from project directory

Our repo is organized with lots of subpackages, and i was expecting to be able to run this:

julia> Pkg.activate("packages/SubPackage")

julia> import RegressionTests

julia> RegressionTests.test()

but I got:

julia> RegressionTests.test()
ERROR: IOError: open("/Users/nathandaly/work/bench", 0, 0): no such file or directory (ENOENT)

It would be nice to set the default project to be the path of the current_project(), similar to what running Pkg.test() would do.

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

No branches or pull requests

1 participant