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

Is it possible for git_ops to work with elixir app in a subdirectory? #37

Closed
benwoodward opened this issue Nov 11, 2020 · 1 comment · Fixed by #53
Closed

Is it possible for git_ops to work with elixir app in a subdirectory? #37

benwoodward opened this issue Nov 11, 2020 · 1 comment · Fixed by #53

Comments

@benwoodward
Copy link
Contributor

I have a Phoenix API app in project-name/backend and JS web client in project-name/client. Is it possible for git_ops to work with the Phoenix app in a subdirectory?

I tried modifying project-name/.git/hooks/commit-msg command to MIX_EXS=backend/mix.exs mix git_ops.check_message "$@" but I get errors:

Unchecked dependencies for environment dev:
* ex_aws_s3 (Hex package)
  the dependency is not available, run "mix deps.get"
* another_dep (Hex package)
  the dependency is not available, run "mix deps.get"
* another_dep (Hex package)
  the dependency is not available, run "mix deps.get"
* another_dep (Hex package)
  the dependency is not available, run "mix deps.get"
@zachdaniel
Copy link
Owner

What if you tried something like cd backend && mix git_ops.check_message?

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

Successfully merging a pull request may close this issue.

2 participants