<commit_before>#! /usr/bin/make
#
# Makefile for Golang projects, v1 (simplified for libraries)
#
# Features:
# - runs ginkgo tests recursively, computes code coverage report
# - code coverage ready for travis-ci to upload and produce badges for README.md
# - to include the build status and code coverage badge in CI use (replace NAME by what
#   you set $(NAME) to further down, and also replace magnum.travis-ci.com by travis-ci.org for
#   publicly accessible repos [sigh]):
#   [![Build Status](https://magnum.travis-ci.com/rightscale/NAME.svg?token=4Q13wQTY4zqXgU7Edw3B&branch=master)](https://magnum.travis-ci.com/rightscale/NAME)
#   ![Code Coverage](https://s3.amazonaws.com/rs-code-coverage/NAME/cc_badge_master.svg)
#
# Top-level targets:
# default: compile the program, you can thus use make && ./NAME -options ...
# test: runs unit tests recursively and produces code coverage stats and shows them
# travis-test: just runs unit tests recursively
#
# ** GOPATH and import dependencies **
# - to compile or run ginkgo like in the Makefile:
#   export GOPATH=`pwd`/.vendor; export PATH="`pwd`/.vendor/bin:$PATH"

#NAME=$(shell basename $$PWD)
NAME=persist
ACL=public-read
# dependencies that are used by the build&test process
DEPEND=golang.org/x/tools/cmd/cover github.com/onsi/ginkgo/ginkgo \
       github.com/onsi/gomega github.com/rlmcpherson/s3gof3r/gof3r \
       github.com/dkulchenko/bunch

#=== below this line ideally remains unchanged, add new targets at the end  ===
<commit_msg>makefile tweaks<commit_after>#! /usr/bin/make
#
# Makefile for Golang projects, v1 (simplified for libraries)
#
# Features:
# - runs ginkgo tests recursively, computes code coverage report
# - code coverage ready for travis-ci to upload and produce badges for README.md
# - to include the build status and code coverage badge in CI use (replace NAME by what
#   you set $(NAME) to further down, and also replace magnum.travis-ci.com by travis-ci.org for
#   publicly accessible repos [sigh]):
#   [![Build Status](https://magnum.travis-ci.com/rightscale/NAME.svg?token=4Q13wQTY4zqXgU7Edw3B&branch=master)](https://magnum.travis-ci.com/rightscale/NAME)
#   ![Code Coverage](https://s3.amazonaws.com/rs-code-coverage/NAME/cc_badge_master.svg)
#
# Top-level targets:
# default: compile the program, you can thus use make && ./NAME -options ...
# test: runs unit tests recursively and produces code coverage stats and shows them
# travis-test: just runs unit tests recursively
#
# ** GOPATH and import dependencies **
# - to compile or run ginkgo like in the Makefile:
#   export GOPATH=`pwd`/.vendor; export PATH="`pwd`/.vendor/bin:$PATH"

#NAME=$(shell basename $$PWD)
NAME=persist
ACL=public-read
# dependencies that are used by the build&test process
DEPEND=golang.org/x/tools/cmd/cover github.com/onsi/ginkgo/ginkgo \
       github.com/onsi/gomega github.com/rlmcpherson/s3gof3r/gof3r \
       github.com/dkulchenko/bunch gopkg.in/inconshreveable/log15.v2

#=== below this line ideally remains unchanged, add new targets at the end  ===

{'fraction_non_alphanumeric': 0.11776315789473685, 'fraction_numerical': 0.008223684210526315, 'mean_word_length': 4.344463971880492, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3117992', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1004, 'n_words': 296}