<commit_before>default: clean bin/etcd-mesos-executor bin/etcd-mesos-scheduler bin/etcd-mesos-proxy  bin/etcd

run: clean bin/etcd-mesos-executor bin/etcd run-scheduler

clean:
	-rm bin/etcd-*

bin:
	-mkdir bin

bin/etcd-mesos-scheduler: bin
	go build -o bin/etcd-mesos-scheduler cmd/etcd-mesos-scheduler/app.go

bin/etcd-mesos-executor: bin
	go build -o bin/etcd-mesos-executor cmd/etcd-mesos-executor/app.go

bin/etcd-mesos-proxy: bin
	go build -o bin/etcd-mesos-proxy cmd/etcd-mesos-proxy/app.go

bin/etcd: bin
	git submodule init
	git submodule update
	cd _vendor/coreos/etcd; ./build; mv bin/* ../../../bin/
  
run-scheduler:
	go run -race cmd/etcd-mesos-scheduler/app.go -logtostderr=true

run-scheduler-with-zk:
	go run -race cmd/etcd-mesos-scheduler/app.go -logtostderr=true \
		-master="zk://localhost:2181/mesos" \
		-cluster-name="t1" \
		-cluster-size=5 \
		-zk-framework-persist="zk://localhost:2181/etcd-mesos"

run-proxy:
	go run -race cmd/etcd-mesos-proxy/app.go \
		-master="zk://localhost:2181/mesos" \
		-cluster-name="t1"

install:
	go install ./cmd/...

cover:
	for i in `dirname **/*_test.go | grep -v "_vendor" | sort | uniq`; do \
		echo $$i; \
		go test -v -race ./$$i/... -coverprofile=em-coverage.out; \
		go tool cover -func=em-coverage.out; rm em-coverage.out; \
	done

test:
	go test -race ./...

docker:
	docker build -t etcd-mesos .
<commit_msg>Update makefile for godeps<commit_after>default: clean restoredeps test build

clean:
	-rm bin/etcd-*

restoredeps:
	@godep restore

build: bin/etcd-mesos-executor bin/etcd-mesos-scheduler bin/etcd-mesos-proxy  bin/etcd

run: clean bin/etcd-mesos-executor bin/etcd run-scheduler

bin:
	-mkdir bin

bin/etcd-mesos-scheduler: bin
	go build -o bin/etcd-mesos-scheduler cmd/etcd-mesos-scheduler/app.go

bin/etcd-mesos-executor: bin
	go build -o bin/etcd-mesos-executor cmd/etcd-mesos-executor/app.go

bin/etcd-mesos-proxy: bin
	go build -o bin/etcd-mesos-proxy cmd/etcd-mesos-proxy/app.go

bin/etcd: bin
	git submodule init
	git submodule update
	cd _vendor/coreos/etcd; ./build; mv bin/* ../../../bin/
  
run-scheduler:
	go run -race cmd/etcd-mesos-scheduler/app.go -logtostderr=true

run-scheduler-with-zk:
	go run -race cmd/etcd-mesos-scheduler/app.go -logtostderr=true \
		-master="zk://localhost:2181/mesos" \
		-cluster-name="t1" \
		-cluster-size=5 \
		-zk-framework-persist="zk://localhost:2181/etcd-mesos"

run-proxy:
	go run -race cmd/etcd-mesos-proxy/app.go \
		-master="zk://localhost:2181/mesos" \
		-cluster-name="t1"

install:
	go install ./cmd/...

cover:
	for i in `dirname **/*_test.go | grep -v "_vendor" | sort | uniq`; do \
		echo $$i; \
		go test -v -race ./$$i/... -coverprofile=em-coverage.out; \
		go tool cover -func=em-coverage.out; rm em-coverage.out; \
	done

test:
	go test -race ./...

docker:
	docker build -t etcd-mesos .

{'fraction_non_alphanumeric': 0.1623055162659123, 'fraction_numerical': 0.010608203677510608, 'mean_word_length': 3.0530085959885387, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1472913', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1185, 'n_words': 240}