<commit_before>OUT := network-shaper
ASSETS := ../dist
VERSION := 0.0.4

all:
	go build -ldflags '-X main.VERSION=$(VERSION)' -o $(OUT)

assets:
	go-bindata-assetfs $(ASSETS)/...

upx:
	goupx $(OUT)

dist: assets all upx

rpm: dist
	fpm \
		-n stc-network-shaper \<commit_msg>Version bump<commit_after>OUT := network-shaper
ASSETS := ../dist
VERSION := 0.0.5

all:
	go build -ldflags '-X main.VERSION=$(VERSION)' -o $(OUT)

assets:
	go-bindata-assetfs $(ASSETS)/...

upx:
	goupx $(OUT)

dist: assets all upx

rpm: dist
	fpm \
		-n stc-network-shaper \
{'fraction_non_alphanumeric': 0.18148820326678766, 'fraction_numerical': 0.010889292196007259, 'mean_word_length': 3.1818181818181817, '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': '1017034', 'n_tokens_mistral': 240, 'n_tokens_neox': 226, 'n_words': 59}