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
Trent Mick a67341b1b0 'make test' now runs unit and integration tests.
'make test-unit' just the unit tests (pre-commit updated to just the latter
Fix one typo in destructiveAllowed.
2015-10-05 07:31:49 -07:00

23 lines
406 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-unit