Last active
March 10, 2019 19:12
-
-
Save tupunco/50b05d2f362c8320a84f672d621e802d to your computer and use it in GitHub Desktop.
tidb windows build&test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
ECHO ------------------build goyacc------------------ | |
go build -v -o bin/goyacc.exe parser/goyacc/main.go | |
ECHO ------------------gen parser.go------------------ | |
bin\goyacc.exe -o NUL -xegen temp_parser_file parser/parser.y | |
bin\goyacc.exe -o parser/parser.go -xe temp_parser_file parser/parser.y | |
rm -f y.output | |
rm -f temp_parser_file | |
ECHO ------------------build tidb-server------------------ | |
go build -v -o bin/tidb-server.exe tidb-server/main.go | |
REM bin\tidb-server.exe -path tidb.bolt -store boltdb | |
REM bin\tidb-server.exe -path tidb.db | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment