elm-lang / elm-package

Command line tool to share Elm libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow publishing a package living in a git repository subfolder

n1k0 opened this issue · comments

elm-package 0.18.0

I've just successfully published a package, but when adding it as a dependency in another project, I'm getting this error:

elm-make: elm-stuff/packages/allo-media/koivu/1.0.0/elm-package.json: openBinaryFile: does not exist (No such file or directory)`

And indeed, if I look into this path, the whole repository has been packaged!

So is there a way to specify what the package root is? Or is it just required to have an Elm package code living at the root of its repo?

In any case, I think this is a bug as this kind of broken package should never have made its way to the Elm package repository.