<commit_before># Makefile for a go project
#
# Author: <NAME>
# 	site: joneisen.me
# 	
# Targets:
# 	all: Builds the code
# 	build: Builds the code
# 	fmt: Formats the source files
# 	clean: cleans the code
# 	install: Installs the code to the GOPATH
# 	iref: Installs referenced projects
#	test: Runs the tests
#	
#  Blog post on it: http://joneisen.me/post/25503842796
#

# Go parameters
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
GOINSTALL=$(GOCMD) install
GOTEST=$(GOCMD) test
GODEP=$(GOTEST) -i

# Package lists
PACKAGE_NAME := collector
TOPLEVEL_PKG := .
BASE_LIST := collector
IMPL_LIST := collector/input collector/output collector/format
CMD_LIST :=	tool
BIN_PATH := bin/collector
DEPENDENCIES_LIST = launchpad.net/gocheck \
code.google.com/p/go.tools/cmd/cover \
code.google.com/p/gcfg \
github.com/jarod/log4go \
github.com/ActiveState/tail \
github.com/codegangsta/cli


# List building
ALL_LIST = $(INT_LIST) $(BASE_LIST) $(IMPL_LIST) $(CMD_LIST)

BUILD_LIST = $(foreach int, $(ALL_LIST), $(int)_build)
CLEAN_LIST = $(foreach int, $(ALL_LIST), $(int)_clean)
INSTALL_LIST = $(foreach int, $(ALL_LIST), $(int)_install)
COVERAGE_LIST = $(foreach int, $(BASE_LIST) $(IMPL_LIST), $(int)_coverage)
TEST_LIST = $(foreach int, $(BASE_LIST) $(IMPL_LIST), $(int)_test)
FMT_TEST = $(foreach int, $(ALL_LIST), $(int)_fmt)
IREF_LIST = $(foreach int, $(BASE_LIST), $(int)_iref)

GOPATH := $(shell pwd)/build<commit_msg>added mgo packages<commit_after># Makefile for a go project
#
# Author: <NAME>
# 	site: joneisen.me
# 	
# Targets:
# 	all: Builds the code
# 	build: Builds the code
# 	fmt: Formats the source files
# 	clean: cleans the code
# 	install: Installs the code to the GOPATH
# 	iref: Installs referenced projects
#	test: Runs the tests
#	
#  Blog post on it: http://joneisen.me/post/25503842796
#

# Go parameters
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
GOINSTALL=$(GOCMD) install
GOTEST=$(GOCMD) test
GODEP=$(GOTEST) -i

# Package lists
PACKAGE_NAME := collector
TOPLEVEL_PKG := .
BASE_LIST := collector
IMPL_LIST := collector/input collector/output collector/format
CMD_LIST :=	tool
BIN_PATH := bin/collector
DEPENDENCIES_LIST = launchpad.net/gocheck \
code.google.com/p/go.tools/cmd/cover \
code.google.com/p/gcfg \
github.com/jarod/log4go \
github.com/ActiveState/tail \
github.com/codegangsta/cli \
labix.org/v2/mgo \
labix.org/v2/mgo/bson


# List building
ALL_LIST = $(INT_LIST) $(BASE_LIST) $(IMPL_LIST) $(CMD_LIST)

BUILD_LIST = $(foreach int, $(ALL_LIST), $(int)_build)
CLEAN_LIST = $(foreach int, $(ALL_LIST), $(int)_clean)
INSTALL_LIST = $(foreach int, $(ALL_LIST), $(int)_install)
COVERAGE_LIST = $(foreach int, $(BASE_LIST) $(IMPL_LIST), $(int)_coverage)
TEST_LIST = $(foreach int, $(BASE_LIST) $(IMPL_LIST), $(int)_test)
FMT_TEST = $(foreach int, $(ALL_LIST), $(int)_fmt)
IREF_LIST = $(foreach int, $(BASE_LIST), $(int)_iref)

GOPATH := $(shell pwd)/build
{'fraction_non_alphanumeric': 0.15302613480055022, 'fraction_numerical': 0.008940852819807428, 'mean_word_length': 5.215811965811966, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4635982', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1104, 'n_words': 263}