mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-04 11:30:14 -05:00
Added escape-analysis script for Windows
This commit is contained in:
committed by
Daylon Wilkins
parent
5748104208
commit
555c9a6eab
@@ -144,18 +144,6 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm
|
||||
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
|
||||
github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U=
|
||||
github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210830175348-13e1f53e141e h1:0vNiaU4VoQ3/diOJSPOPbGB924QVBEUerwKw/Gv3XYU=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210830175348-13e1f53e141e/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210831222740-e2d8eb761ecd h1:inMCF2z9jmLkhHEPPTQrVik6dG/J49hVfDsSwBbXhE4=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210831222740-e2d8eb761ecd/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210901221611-9e2a5fe1b09b h1:ITm6QsoE0lcxSjQfMJ0xhXIZNm+zKvFwk5iGfBsplAQ=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210901221611-9e2a5fe1b09b/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210902033752-29461bcf94ce h1:jQ9XbRUBZlx8cTZKOb64m2kMnKMuktes7KtwuF+0j+o=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210902033752-29461bcf94ce/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210902171148-fadb8c4592ec h1:jAq5bstT/GaWYhDy46B92wOf3MTPsZEzLkv4qUBFxm0=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210902171148-fadb8c4592ec/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210902175808-c05838e8d173 h1:gM1YsiCfQMVcaSQrj9ZZMvJStGi0/TZc7zwsf9KbweI=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210902175808-c05838e8d173/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210903190613-4c25c32c3883 h1:IfpwAn8PtCr1roskOckNiNxj2Iqly0yTtWeWkgla0YM=
|
||||
github.com/dolthub/go-mysql-server v0.10.1-0.20210903190613-4c25c32c3883/go.mod h1:cPg39xeFH8/+McnJxncb79SgUuREeIqR+eTvxE6OmXc=
|
||||
github.com/dolthub/ishell v0.0.0-20210205014355-16a4ce758446 h1:0ol5pj+QlKUKAtqs1LiPM3ZJKs+rHPgLSsMXmhTrCAM=
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
:: This batch file is for Windows-users only, and will only work in a Windows environment.
|
||||
:: File Watchers uses the Command Prompt, which eliminates any potential references to Unix tooling.
|
||||
:: Refer to the .sh script for comments covering the Go flags.
|
||||
:: All other commands are equivalent to their Unix counterparts.
|
||||
:: Of note, the directory path must be preceded by ".\" due to Go's handling of paths in Windows.
|
||||
go build -gcflags="-m=1 -N -l" ".\%1" 2>&1 >NUL | findstr /v /l "<does not escape>" | sort /unique
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This script is intended for usage on Unix-based systems.
|
||||
# For Windows users, please use the .bat file instead.
|
||||
|
||||
LOGLEVEL=1
|
||||
|
||||
# Compiles "$1" (golang pkg) with escape-analysis logging
|
||||
|
||||
|
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 252 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
Reference in New Issue
Block a user