repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update lerouxb location to fix tests
[gitter.git]
/
git_hooks
/
post-checkout
blob
b40d4eb680f1644917f076cb62560aedc9314cf8
1
#!/bin/bash
2
3
if
[[
-n
$
(
git diff-tree
-r --name-only --no-commit-id
$1 $2
|
grep
-E
'(package.json|npm-shrinkwrap.json)'
) ]];
then
4
echo
"Packaging has changed. Performing an npm install"
5
npm prune
6
npm
install
7
fi