Skip to content

Commit 41bed0c

Browse files
author
alexrp
committed
mix escriptize: Only include .beam and .app files from ebin.
Fixes #768.
1 parent a3d1ee6 commit 41bed0c

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)