dart-sublime-bundle icon indicating copy to clipboard operation
dart-sublime-bundle copied to clipboard

Allow project configuration of pubspec.yaml

Open mattsonar opened this issue 9 years ago • 0 comments

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.

mattsonar avatar Jun 09 '16 15:06 mattsonar