Closed getong closed 11 months ago
Thanks! I will take a look at it today. Really appreciate your hard work :)
As far as I know, the 'example' directory should be included in the publication to pub.dev
. For example, this 'example' tab at the website refers to that folder.
Also, currently rinf template
command is 'copying' the Rust template from that 'example' folder. So this might be still needed.
Still appreciate your contribution. If you have other ideas please let me know!
P.S. Speaking about rinf template
, maybe the next step could be adding --sample
option to the command, as mentioned in #220
how about split two packages? The new package contains the example directory?
For example, in the pubspec.yaml
dependencies:
rinf
dev_dependencies:
rinf_cli
I notice the package download from pub.dev contains example directory, but it does not need to publish to pub.dev.
From https://dart.dev/tools/pub/publishing , add .pubignore file.