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

Install Git Hooks with Repository #56

Open
dgp1130 opened this issue Dec 8, 2016 · 0 comments
Open

Install Git Hooks with Repository #56

dgp1130 opened this issue Dec 8, 2016 · 0 comments

Comments

@dgp1130
Copy link
Member

dgp1130 commented Dec 8, 2016

There is a post-merge Git hook which reinstalls the package in case the dependencies change. This and any other hooks need to be manually copied or symlinked to .git/hooks before they are active for security reasons.

There is already a setup script npm run setup-dev which configures the development server. This script should also link these hooks to the appropriate location so the developer doesn't have to.

dgp1130 added a commit that referenced this issue Aug 11, 2017
Added NodeJS script to symlink .git/hooks/post-merge to the project-supplied file. Verified on Linux, still need to test for Windows.
@dgp1130 dgp1130 self-assigned this Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant