Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipkg sourcedir can't be more than 1 level deep #4618

Open
shmish111 opened this issue Dec 16, 2018 · 0 comments
Open

ipkg sourcedir can't be more than 1 level deep #4618

shmish111 opened this issue Dec 16, 2018 · 0 comments

Comments

@shmish111
Copy link

If your source code is in src/sub and you add sourcedir = "src/sub" you will get unexpected '"' or with sourcedir = src/sub you will get unexpected '/'

Steps to Reproduce

Create a module called Main.idr in the directory issue/src

module Main

main : IO ()
main = pure ()

Create issue.ipkg in the parent directory of issue/src

package issue

modules = Main

sourcedir = idris/issue

run idris --build issue.ipkg

Expected Behavior

compilation completes

Observed Behavior

idris fails to parse ipkg file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant