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
6161 project = Mix.Project . get ( )
6262
6363 if project && Keyword . get ( opts , :compile , true ) do
64- Mix.Task . run ( :compile , args )
64+ Mix.Task . run ( :compile , [ "--no-protocol-consolidation" | args ] )
6565 end
6666
6767 source =
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ defmodule Mix.Tasks.ArchiveTest do
3232 message = "Generated archive \" archive-0.1.0.ez\" with MIX_ENV=dev"
3333 assert_received { :mix_shell , :info , [ ^ message ] }
3434 assert File . regular? ( ~c" archive-0.1.0.ez" )
35+ assert to_charlist ( Mix.Project . consolidation_path ( ) ) not in :code . get_path ( )
3536
3637 assert_archive_content_default ( )
3738 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