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

Allow named non-package project #1982

Open
fredrikekre opened this issue Aug 24, 2020 · 5 comments
Open

Allow named non-package project #1982

fredrikekre opened this issue Aug 24, 2020 · 5 comments

Comments

@fredrikekre
Copy link
Member

$ cat Project.toml 
name="MyProject"
uuid="81de396f-a148-4a69-b217-b58614fed4bb"

$ jlpkg resolve
PkgError: expected the file `src/MyProject.jl` to exist for package `MyProject` at `/tmp/tmp.N0Z4kqJFBs`
@Roger-luo
Copy link

I second this, another use case for me is when I install a CLI project (a package that generates a CLI to .julia/bin) I want to have an isolated project environment generated instead of mutating the package Project.toml that may have no permission for the CLI.

@fredrikekre
Copy link
Member Author

Why do you need it to be "named" for that application?

@Roger-luo
Copy link

I think I just copied the package environment then mutate on that? So there's a name in it. Or yeah you are right, I may not need the name but only a deps field.

@mauro3
Copy link

mauro3 commented May 18, 2021

Would this also allow for Pkg.test() to work without having a src/MyProj.jl?

(Is there an work-around apart from creating a minimal src/MyProj.jl?)

@Datseris
Copy link
Contributor

Would this also allow for Pkg.test() to work without having a src/MyProj.jl?

Oh that would be wonderful and would also solve JuliaDynamics/DrWatson.jl#67

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

4 participants