Last active
November 11, 2015 17:25
-
-
Save wind0r/42f420cc9a98b36d14a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Packages from influxdb/influxdb/issues/4098 | |
#PACKAGES=(client cluster cluster/internal cmd/influx cmd/influx_stress cmd/influxd cmd/influxd/backup cmd/influxd/help cmd/influxd/restore cmd/influxd/run cmd/influx_inspect importer/v8 influxql meta meta/internal monitor pkg/slices services/admin services/collectd services/collectd/test_client services/continuous_querier services/copier services/copier/internal services/graphite services/hh services/httpd services/opentsdb services/precreator services/retention services/snapshotter services/udp snapshot statik tcp tests/urlgen toml tsdb tsdb/engine tsdb/engine/b1 tsdb/engine/bz1 tsdb/engine/wal tsdb/internal uuid) | |
#All Packages | |
PACKAGES=$(find . -name '*.go' -print0 | xargs -0 -n1 dirname | sort --unique) | |
for pkg in ${PACKAGES[@]}; do | |
echo $pkg $(golint $pkg | wc -l) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment