husky-elixir
husky-elixir copied to clipboard
🐶 Git hooks made easy
To fix the below mentioned error ``` ... running 'husky.install' task ** (RuntimeError) '/home/.git' directory does not exist. Try running $ git init lib/husky/task/install.ex:40: Mix.Tasks.Husky.Install.create_scripts/2 (mix) lib/mix/task.ex:301: Mix.Task.run_task/3 (mix) lib/mix/cli.ex:75:...
i'm running my phoenix application inside a docker container, after try commit I get the error: `/usr/bin/env: ‘escript’: No such file or directory`, i cd to that directory inside my...
Would love to see the progress of the `:io.cmd()` that's currently being executed in parent processes `stdout`. https://github.com/spencerdcarlson/husky-elixir/blob/fcd20b0b3a077255b5d4b4185965a8474ef6a2de/lib/husky/task/execute.ex#L143 Maybe adding an `|> IO.stream(:line)` into the pipeline? But it'll probably need...
Try creating a second [worktree](https://git-scm.com/docs/git-worktree) for a repo: ```bash $ worktree=$(mktemp -d) $ git worktree add $worktree $ cd $worktree $ mix deps.get $ mix husky.install == Compilation error in...
If husky is compiled with a given version of erlang, and ran on a machine that has a different erlang version it breaks.
Hi, maybe this is a silly question, but I can't find in the documentation how to indicate the path where the `.git` directory is located. To install the dependencies of...