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
2015-09-01 10:55:39 -07:00

23 lines
401 B
Bash
Executable File

#!/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