<commit_before>all: install

fmt:
	go fmt ./...

install: fmt
	go install ./...

clean:
	rm -rf host release whitepaper.aux whitepaper.log whitepaper.pdf sia/test.wallet sia/hostdir*

test: clean install
	go test -short ./...

test-long: clean install
	go test -v -race -tags=debug ./...

# run twice to ensure references are updated properly
whitepaper:
	@pdflatex whitepaper.tex > /dev/null
	pdflatex whitepaper.tex

dependencies:
	go install -race std
	go get -u code.google.com/p/gcfg
	go get -u github.com/mitchellh/go-homedir
	go get -u github.com/spf13/cobra
	go get -u github.com/inconshreveable/go-update
	go get -u github.com/agl/ed25519

# Cross Compile - makes binaries for windows, linux, and mac, 32 and 64 bit.
xc:
	go get -u github.com/laher/goxc<commit_msg>add renterDownload to make clean<commit_after>all: install

fmt:
	go fmt ./...

install: fmt
	go install ./...

clean:
	rm -rf hostdir release whitepaper.aux whitepaper.log whitepaper.pdf sia/test.wallet sia/hostdir* sia/renterDownload

test: clean install
	go test -short ./...

test-long: clean install
	go test -v -race -tags=debug ./...

# run twice to ensure references are updated properly
whitepaper:
	@pdflatex whitepaper.tex > /dev/null
	pdflatex whitepaper.tex

dependencies:
	go install -race std
	go get -u code.google.com/p/gcfg
	go get -u github.com/mitchellh/go-homedir
	go get -u github.com/spf13/cobra
	go get -u github.com/inconshreveable/go-update
	go get -u github.com/agl/ed25519

# Cross Compile - makes binaries for windows, linux, and mac, 32 and 64 bit.
xc:
	go get -u github.com/laher/goxc
{'fraction_non_alphanumeric': 0.11013215859030837, 'fraction_numerical': 0.013845185651353053, 'mean_word_length': 3.217506631299735, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5761482', 'n_tokens_mistral': 613, 'n_tokens_neox': 590, 'n_words': 184}