on master help sign in
save the README.md file as well
388f37eEvan Czaplicki
builder/src/File.hs+5−1
@@ -190,7 +190,11 @@ writeEntry destination root entry =
190 let
190 let
191 path = drop root (Zip.eRelativePath entry)
191 path = drop root (Zip.eRelativePath entry)
192 in
192 in
193− if path == "LICENSE" || path == "elm.json" || List.isPrefixOf "src/" path then
193+ if List.isPrefixOf "src/" path
194+ || path == "LICENSE"
195+ || path == "README.md"
196+ || path == "elm.json"
197+ then
194 if not (null path) && last path == '/'
198 if not (null path) && last path == '/'
195 then Dir.createDirectoryIfMissing True (destination </> path)
199 then Dir.createDirectoryIfMissing True (destination </> path)
196 else LBS.writeFile (destination </> path) (Zip.fromEntry entry)
200 else LBS.writeFile (destination </> path) (Zip.fromEntry entry)