How to know this binary was built with --release or not from crystal code?
Thanks
How to know this binary was built with --release or not from crystal code?
Thanks
You can determine this via a macro checking for the release
flag.
It works, thanks!
{% if flag?(:release) %}
BakedFileSystemStorage.mount
{% end %}