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 project configuration of pubspec.yaml #577

Open
mattsonar opened this issue Jun 9, 2016 · 0 comments
Open

Allow project configuration of pubspec.yaml #577

mattsonar opened this issue Jun 9, 2016 · 0 comments

Comments

@mattsonar
Copy link

I didn't see anything in the wiki about this, but when I try to build the project it fails with an error:

Could not find a file named "pubspec.yaml" in "<SOME_PATH>"

I would assume the value <SOME_PATH> is hard coded relative to the project root? I say this because it tries to find it at myproject/lib, but in my case it really lives under the root folder myproject.

Is there a way to specify where the pubspec.yaml is located? Or perhaps the plugin can search for it starting from the root of the open project?

my folder structure looks something like:

myproject
--.gitignore
--README.md
--pubspec.lock
--pubspec.yaml
--web
----website related files (css, js, etc.)
--lib
----some dart files
----src
------more dart files and subfolders of dart files

In reality it is actually a bit more complicated as this is just a subproject of a larger project, but I am only trying to get at least the subproject to compile first. In Dartium Editor (the legacy Eclipse based version) I had several subprojects at the root including this "myproject" subproject.

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