microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
395 stars 63 forks source link

Build cmd/modern dir as per current dir structure #186

Closed apoorvdeshmukh closed 1 year ago

apoorvdeshmukh commented 1 year ago

Updating pipeline to build sqlcmd from cmd/modern dir Addresses #185

shueybubbles commented 1 year ago

Pls add a build.sh and build.bat in the root build folder that both people and pipelines can use. Otherwise I think it's a bit confusing to figure out where to build things as a new contributor.

shueybubbles commented 1 year ago

Also move the rsrc files and winres folder from cmd/sqlcmd to modern and put the generate line in main.go

//go:generate go-winres make --file-version=git-tag --product-version=git-tag
apoorvdeshmukh commented 1 year ago

The product build pipeline is validated in this run and is working fine.