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

"priv" is not included in the hex package #3

Open
voger opened this issue Apr 25, 2020 · 1 comment
Open

"priv" is not included in the hex package #3

voger opened this issue Apr 25, 2020 · 1 comment

Comments

@voger
Copy link

voger commented Apr 25, 2020

I have included terminator in my mix.exs

      {:terminator, "~> 0.5"},

When I do

$ mix terminator.setup
** (Mix) Could not find migrations directory "deps/terminator/priv/repo/migrations"
for repo Terminator.Repo.

This may be because you are in a new project and the
migration directory has not been created yet. Creating an
empty directory at the path above will fix this error.

If you expected existing migrations to be found, please
make sure your repository has been properly configured
and the configured path exists.

It seems the priv folder is not included

$ tree deps/terminator/
deps/terminator/
├── hex_metadata.config
├── lib
│   ├── mix
│   │   └── tasks
│   │       ├── terminator.ex
│   │       └── terminator.setup.ex
│   ├── terminator
│   │   ├── ability.ex
│   │   ├── application.ex
│   │   ├── performer.ex
│   │   ├── performers_entities.ex
│   │   ├── performers_roles.ex
│   │   ├── registry.ex
│   │   ├── repo.ex
│   │   └── role.ex
│   └── terminator.ex
├── mix.exs
└── README.md
@voger
Copy link
Author

voger commented Apr 25, 2020

I built the package locally and the build does include the "priv" folder.

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