#!/bin/bash

set -e -o pipefail

cd $(dirname $0)/..

find * -maxdepth 0 -type d -and \( \
        -not -path 'Godeps'             \
        -not -path 'bin'                \
        -not -path 'ci'                 \
        -not -path 'out'                \
        -not -path 'tmp'                \
        -not -path 'gobin'              \
        -not -path 'vendor'              \
    \) \
    | xargs $@
