File: watch

package info (click to toggle)
golang-github-aanand-compose-file 0.0~git20161122.0.a3e5876-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 604 kB
  • ctags: 567
  • sloc: makefile: 12; sh: 9
file content (11 lines) | stat: -rwxr-xr-x 217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

exec filewatcher \
    -x '.git' \
    -x 'vendor' \
    -x '**/*.swp' \
    -x 'dist' \
    -x 'script' \
    -x 'docs' \
    -- \
    bash -c 'go test -v ./${dir} || ( echo; echo; echo; echo; exit 1 )'