Browse Source

Merge pull request #653 from PeterDaveHello/RefactorGitHookShellScript

Refactor .git_hooks_pre-commit shell script syntax
pull/654/head
Ross McFarland 5 years ago
committed by GitHub
parent
commit
4222c6bdb8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      .git_hooks_pre-commit

+ 6
- 6
.git_hooks_pre-commit View File

@ -2,10 +2,10 @@
set -e set -e
HOOKS=`dirname $0`
GIT=`dirname $HOOKS`
ROOT=`dirname $GIT`
HOOKS=$(dirname "$0")
GIT=$(dirname "$HOOKS")
ROOT=$(dirname "$GIT")
. $ROOT/env/bin/activate
$ROOT/script/lint
$ROOT/script/coverage
. "$ROOT/env/bin/activate"
"$ROOT/script/lint"
"$ROOT/script/coverage"

Loading…
Cancel
Save