Skip to content

Commit 5643dbd

Browse files
author
José Valim
committed
Merge pull request #777 from alexrp/master
mix escriptize: Only include .beam and .app files from ebin.
2 parents aa9c933 + 41bed0c commit 5643dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/tasks/escriptize.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ defmodule Mix.Tasks.Escriptize do
117117
end
118118

119119
defp get_files(dir) do
120-
lc f inlist Path.wildcard("#{dir}/**/*") do
120+
lc f inlist Path.wildcard("#{dir}/**/*.{app,beam}") do
121121
{ binary_to_list(Path.basename(f)), File.read!(f) }
122122
end
123123
end

0 commit comments

Comments
 (0)