Short (and maybe simple) question: Is it possible, to call pub build programmatically via a dart script?
For now, I'm using: Process.run('pub', ['build'], runInShell: true);.
Is there are more elegant way?
Have a look at the barback package on pub. The docs are available here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With