I've just start playing with grunt for visual studio and I can't figure out how to run particular tasks depending on configuration (debug, release, etc).
You can run tasks before build, after build, etc. But how to bind it to the configuration?
I've just start playing with grunt for visual studio and I can't figure out how to run particular tasks depending on configuration (debug, release, etc).
You can run tasks before build, after build, etc. But how to bind it to the configuration?
This Question might help.
On top of that I added this:
to my pre-build events. (Note that
chatStyling
is a custom task.)<shameless-plug />
I do this using VsCommandBuddy extension for vs2013/vs2015. Using the configurationname in a macro as parameter for the command you'd like to execute.