You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using the Chinese community mirror or a corporate firewall? No
Problem
According to this documentation, all files version controlled by git will be published to Pub.
It there a way to ignore git submodules?
For example, in my project, the submodule(react-native-vector-icons, written in JavaScript) is only for Dart code generation. Seems it should not be published to Pub.
The text was updated successfully, but these errors were encountered:
No, there is no support for pub-specific ignore patterns at this point.
You can make a bash script that wraps pub publish and copies everything you want to publish into a separate folder.
According to this documentation, all files version controlled by git will be published to Pub.
Close, but not quite. The documentation says that all files ignored by .gitignore will be ignored by pub publish. It will publish files in your folder that are not under git control, if they are not in your .gitignore file.
Environment
pub version
orflutter pub version
: 2.5.0Problem
According to this documentation, all files version controlled by git will be published to Pub.
It there a way to ignore git submodules?
For example, in my project, the submodule(react-native-vector-icons, written in JavaScript) is only for Dart code generation. Seems it should not be published to Pub.
The text was updated successfully, but these errors were encountered: