Sebastian Meine (@sqlity) created BuildHelper.exe as a component of a build process for T-SQL scripts in a SQL Server Management Studio (SSMS) project. This tool is made available as part of the build system for the tSQLt project, and can be downloaded here:
https://github.com/tSQLt-org/tSQLt/blob/master/Build/BuildHelper.exe
An example build and deploy process would involve kicking off a batch file from SSMS, which would trigger BuildHelper.exe with a designated set of arguments. BuildHelper would output a single .sql file from all of your scripts, which could then be run by your batch file using an invocation of sqlcmd.