private static string ConstructArguments(Config config) { string arguments = " --print"; //if (config.SourceMap) // arguments += " --source-map-map-inline"; IcedCoffeeScriptOptions options = new IcedCoffeeScriptOptions(config); if (options.Bare) arguments += " --bare"; if (!string.IsNullOrEmpty(options.RuntimeMode)) arguments += " --runtime " + options.RuntimeMode; return arguments; }
private string ConstructArguments(Config config) { string arguments = $" --compile --output \"{_temp}\""; if (config.SourceMap) arguments += " --map"; IcedCoffeeScriptOptions options = new IcedCoffeeScriptOptions(config); if (options.Bare) arguments += " --bare"; if (!string.IsNullOrEmpty(options.RuntimeMode)) arguments += " --runtime " + options.RuntimeMode; return arguments; }