protected override string GenerateFullPathToTool() { if (AssetManCliPath.EndsWith("dll")) { return("dotnet"); } return(AssetManCliPath); }
protected override string GenerateCommandLineCommands() { var optionsFiles = Directory.GetFiles(GetBaseDirectory(), "*.assets.json"); var builder = new CommandLineBuilder(); if (AssetManCliPath.EndsWith("dll")) { builder.AppendFileNameIfNotNull(AssetManCliPath); } builder.AppendSwitchIfNotNull("-Options ", string.Join(";", optionsFiles)); if (Debug) { builder.AppendSwitch("-Debug"); } return(builder.ToString()); }