<commit_before>@echo off

@set SYS_PATH=%PATH%
@set GOGS_SOURCE_PATH=%CD% 
@set MINGW64_I386_PATH=C:\mingw-w64\mingw32\bin
@set MINGW64_X86X64_PATH=C:\mingw-w64\mingw64\bin


cd %GOGS_SOURCE_PATH%
go clean 
go clean -tags "tidb sqlite cert"

@set CGO_ENABLED=1

echo *************************************************************
echo 1. Setting up environment for MinGW-w64 GCC for 32-bit...
set PATH=%MINGW64_I386_PATH%;%GOPATH%\bin;%SYS_PATH%
echo 2. Setting up environment for golang for 32-bit...
cd %GOROOT%/src
set GOOS=windows
set GOARCH=386
call make.bat --no-clean
cd %GOGS_SOURCE_PATH%
go build -tags "tidb sqlite cert"
copy gogs.exe gogs-i386.exe
go clean -tags "tidb sqlite cert"

@echo *************************************************************
@echo 1. Setting up environment for MinGW-w64 GCC for 64-bit...
@set PATH=%MINGW64_X86X64_PATH%;%GOPATH%\bin;%SYS_PATH%
@echo 2. Setting up environment for golang for 64-bit...
cd %GOROOT%/src
set GOOS=windows
set GOARCH=amd64
call make.bat --no-clean
cd %GOGS_SOURCE_PATH%
go build -tags "tidb sqlite cert"
copy gogs.exe gogs-x86_x64.exe
go clean -tags "tidb sqlite cert"

set PATH=%SYS_PATH%
echo on

<commit_msg>update build batch file for x86 and x64.<commit_after>@echo off

@set SYS_PATH=%PATH%
@set GOGS_SOURCE_PATH=%CD% 
@set MINGW64_I386_PATH=C:\mingw-w64\mingw32\bin
@set MINGW64_X86X64_PATH=C:\mingw-w64\mingw64\bin
REM @set GOROOT=c:\Go
REM @set GOPATH=c:\Projects\Go

REM go get -u github.com/...

cd %GOGS_SOURCE_PATH%
go clean 
go clean -tags "tidb sqlite cert"

@set CGO_ENABLED=1

echo *************************************************************
echo 1. Setting up environment for MinGW-w64 GCC for 32-bit...
set PATH=%MINGW64_I386_PATH%;%GOPATH%\bin;%SYS_PATH%
echo 2. Setting up environment for golang for 32-bit...
cd %GOROOT%/src
set GOOS=windows
set GOARCH=386
call make.bat --no-clean
cd %GOGS_SOURCE_PATH%
go build -tags "tidb sqlite cert" -v
copy gogs.exe gogs-i386.exe
go clean -tags "tidb sqlite cert" -v

@echo *************************************************************
@echo 1. Setting up environment for MinGW-w64 GCC for 64-bit...
@set PATH=%MINGW64_X86X64_PATH%;%GOPATH%\bin;%SYS_PATH%
@echo 2. Setting up environment for golang for 64-bit...
cd %GOROOT%/src
set GOOS=windows
set GOARCH=amd64
call make.bat --no-clean
cd %GOGS_SOURCE_PATH%
go build -tags "tidb sqlite cert" -v 
copy gogs.exe gogs-x86_x64.exe
go clean -tags "tidb sqlite cert" -v

set PATH=%SYS_PATH%
echo on


{'fraction_non_alphanumeric': 0.2053354890864996, 'fraction_numerical': 0.04931285367825384, 'mean_word_length': 5.007281553398058, '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': '688462', 'n_tokens_mistral': 1050, 'n_tokens_neox': 928, 'n_words': 266}