0

How can I add the calculated variable to --dart-define?

I want to run this:

flutter run --dart-define=githash=$(git rev-parse HEAD)

But it is not working. Appreciate if someone can advise. Thank you in advance!

My Car
  • 4,198
  • 5
  • 17
  • 50
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Sep 23 '22 at 04:28

0 Answers0