<commit_before>#!/bin/sh

build(){
  TMPDIR="/home/fevrier/go_tmp" GOOS="$1" GOARCH="$2" go build
}

make_tar(){
  echo " * $3"
  build "$1" "$2"
  file hexkit_path_fix
  tar cvf "release/hexkit_path_fix_$3.tar.bz2" hexkit_path_fix LICENSE README.md
}

make_zip(){
  echo " * $3"
  build "$1" "$2"
  file hexkit_path_fix.exe
  zip "release/hexkit_path_fix_$3.zip" hexkit_path_fix.exe LICENSE README.md
}

mkdir -p release
make_zip windows 386   win32
make_zip windows amd64 win64
make_tar darwin  386   darwin32
make_tar darwin  amd64 darwin64
make_tar linux   386   linux32
make_tar linux   amd64 linux64
rm -f hexkit_path_fix.exe
<commit_msg>Remove release before recreating it<commit_after>#!/bin/sh

build(){
  TMPDIR="/home/fevrier/go_tmp" GOOS="$1" GOARCH="$2" go build
}

make_tar(){
  echo " * $3"
  build "$1" "$2"
  file hexkit_path_fix
  tar cvf "release/hexkit_path_fix_$3.tar.bz2" hexkit_path_fix LICENSE README.md
}

make_zip(){
  echo " * $3"
  build "$1" "$2"
  file hexkit_path_fix.exe
  zip "release/hexkit_path_fix_$3.zip" hexkit_path_fix.exe LICENSE README.md
}

rm -f release/*
rmdir release
mkdir -p release
make_zip windows 386   win32
make_zip windows amd64 win64
make_tar darwin  386   darwin32
make_tar darwin  amd64 darwin64
make_tar linux   386   linux32
make_tar linux   amd64 linux64
rm -f hexkit_path_fix.exe

{'fraction_non_alphanumeric': 0.10820895522388059, 'fraction_numerical': 0.056716417910447764, 'mean_word_length': 4.23828125, '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': '590242', 'n_tokens_mistral': 601, 'n_tokens_neox': 544, 'n_words': 137}