File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ defmodule Mix.Tasks.Archive.Build do
61
61
project = Mix.Project . get ( )
62
62
63
63
if project && Keyword . get ( opts , :compile , true ) do
64
- Mix.Task . run ( :compile , args )
64
+ Mix.Task . run ( :compile , [ "--no-protocol-consolidation" | args ] )
65
65
end
66
66
67
67
source =
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ defmodule Mix.Tasks.ArchiveTest do
32
32
message = "Generated archive \" archive-0.1.0.ez\" with MIX_ENV=dev"
33
33
assert_received { :mix_shell , :info , [ ^ message ] }
34
34
assert File . regular? ( ~c" archive-0.1.0.ez" )
35
+ assert to_charlist ( Mix.Project . consolidation_path ( ) ) not in :code . get_path ( )
35
36
36
37
assert_archive_content_default ( )
37
38
refute has_in_zip_file? ( ~c" archive-0.1.0.ez" , ~c" archive-0.1.0/priv/.dot_file" )
You can’t perform that action at this time.
0 commit comments