on master help sign in
extract elm.json from package archives as well

Needed when publishing to check if package builds

commit8b65940fcc8ef43ef922502e807773e4ca53f104 authorEvan Czaplicki <evancz@users.noreply.github.com> dateFri 12 Jul 2019, 16:54 (7 years ago) parent6d741bf
1 file changed+1−1
builder/src/File.hs+1−1
builder/src/File.hs+1−1
@@ -190,7 +190,7 @@ writeEntry destination root entry =
190190 let
191191 path = drop root (Zip.eRelativePath entry)
192192 in
193− if path == "LICENSE" || List.isPrefixOf "src/" path then
193+ if path == "LICENSE" || path == "elm.json" || List.isPrefixOf "src/" path then
194194 if not (null path) && last path == '/'
195195 then Dir.createDirectoryIfMissing True (destination </> path)
196196 else LBS.writeFile (destination </> path) (Zip.fromEntry entry)