We want every user to click on our git repository to run "grunt" before this is done. We do this by pre-clicking in .git/hooks/pre-push and writing npm install and grunt in this file.
We also have a TFS repository. I am looking for similar logic to be used here. It is clear that we want someone to try to check something. This only launches PowerShell and runs locally npm install and grunt .
We donβt want TFS to do anything else (run the build, run the tests, etc. (all this is done in the grunt task)).
Is it possible? Does anyone know how?
git tfs pre-commit-hook gruntjs pre-commit
user3086725
source share