We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b830485 commit a056f0aCopy full SHA for a056f0a
lib/mix/lib/mix/server.ex
@@ -85,7 +85,7 @@ defmodule Mix.Server do
85
[ Project[rec_enabled?: bool] | _ ] ->
86
{ :reply, bool, config }
87
_ ->
88
- { :reply, true, config }
+ { :reply, false, config }
89
end
90
91
lib/mix/test/mix/tasks/compile_test.exs
@@ -39,6 +39,13 @@ defmodule Mix.Tasks.CompileTest do
39
Mix.Project.pop
40
41
42
+ test "compile is no-op on empty project" do
43
+ in_fixture "beams", fn ->
44
+ Mix.Tasks.Compile.run []
45
+ refute File.exists?("ebin")
46
+ end
47
48
+
49
test "compile a project without mixfile" do
50
in_fixture "no_mixfile", fn ->
51
Mix.Tasks.Compile.run []
0 commit comments