This repository has been archived on 2020-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
node-spearhead/tools/pre-commit.sh

23 lines
406 B
Bash
Raw Permalink Normal View History

2015-09-01 20:55:39 +03:00
#!/bin/bash
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#
# Copyright (c) 2015, Joyent, Inc.
#
#
# A suggested git pre-commit hook for developers. Install it via:
#
# make git-hooks
#
set -o errexit
set -o pipefail
make check
make test-unit