File: pre-commit

package info (click to toggle)
golang-github-thejerf-suture 4.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 260 kB
  • sloc: sh: 24; makefile: 2
file content (17 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# This ensures all executables build and all tests pass before a commit
# goes through.

set -v
set -e

CWD=`pwd`

go test
./gml .

echo Build succeeds.
exit 0