Code:
karma: {
unit: {
if ("<%= grunt.option('Release') %>" )
{
//do nothing
}
else
{
configFile: 'build/karma.conf.js',
singleRun: true,
browsers: ['PhantomJS']
}
}
}
how to write correct if else statement in gruntfile.js. I am invoking the gruntfile.js using visual studio project file.