use of org.elixir_lang.mix.settings.MixSettings in project intellij-elixir by KronicDeth.
the class MixExUnitRunConfiguration method getMixArgs.
@NotNull
public List<String> getMixArgs() {
List<String> params = super.getMixArgs();
MixSettings mixSettings = MixSettings.getInstance(getProject());
String task = mixSettings.getSupportsFormatterOption() ? "test" : "test_with_formatter";
ArrayList<String> mixArgs = new ArrayList<>();
mixArgs.addAll(Arrays.asList(task, "--formatter", "TeamCityExUnitFormatter"));
mixArgs.addAll(params);
return mixArgs;
}
Aggregations