Skip to content

Commit

Permalink
Compress archive files
Browse files Browse the repository at this point in the history
Archive files are unzipped on installations so there is no longer a
performance reason to keep files uncompressed.
  • Loading branch information
ericmj committed Jun 28, 2016
1 parent 676c48e commit 9fe897f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/mix/lib/mix/tasks/archive.build.ex
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ defmodule Mix.Tasks.Archive.Build do
target_path = Path.expand(target)
dir = Mix.Local.archive_name(target_path) |> String.to_charlist
{:ok, _} = :zip.create(String.to_charlist(target_path),
files_to_add(source_path, dir),
uncompress: ['.beam', '.app'])
files_to_add(source_path, dir))
:ok
end

Expand Down

0 comments on commit 9fe897f

Please sign in to comment.