-
Notifications
You must be signed in to change notification settings - Fork 229
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
Cannot have docs/
directory at the root of project
#3326
Comments
First this is only a warning. You can publish to pub.dev anyways. I think we might have to rethink this if docs.page becomes a thing. Anyways the validator is listing files with @jonasfj WDYT? |
I think it's fine to respect But this is just a warning it can be ignored, see: pub/lib/src/validator/directory.dart Line 35 in b93bf88
You get this warning because you're package is violating: https://dart.dev/tools/pub/package-layout Closing this as working as intended. |
I think we don't need to publish |
I use this Github Action to publish my package in CI / CD |
Environment
pub version
orflutter pub version
: Pub 2.16.1Problem
I need to have a directory called
docs
at the root of my project (because I want to use docs.page service to generate documentation pages).When I run
flutter pub publish --dry-run
it fails with the error below:Although I tried to put
docs/
in my .pubignore file, it didn't work.You can check this failing workflow for more details.
There is a similar closed issue here: #2976
I couldn't find any solution there.
The text was updated successfully, but these errors were encountered: