If I have something like this in my nim.cfg:
@if flag
setSomething
@end
How can I pass this flag using nimble?
Yes I think it goes something like nimble c -d:flag foo.nim but in this case the knowledge of the file name foo.nim has to be in two places: app.nimble file and the command-line itself, and that is what I want to avoid.
I will wait for the NimScript extension naming debate to settle and then I will come back to this :).
For now I will just comment/uncomment the file manually.