cake-contrib / Cake.SqlPackage

Cake AddIn that extends Cake for creating and deploying SQL Server databases and DACPAC packages.
https://cakebuild.net/extensions/cake-sqlpackage
MIT License
11 stars 9 forks source link

Add ProcessSetting to Cake Alias #17

Closed RLittlesII closed 5 years ago

RLittlesII commented 5 years ago

https://github.com/RLittlesII/Cake.SqlPackage/pull/16#issue-260805206

My team is currently using the SqlPackagePublish method to initialize our integration test databases. This works great, but because our database schema is extremely large, it results in a lot of noise in our build logs. And because the Quiet option on SqlPackage.exe doesn't actually work, there's not currently a good way to disable this output. This PR makes it possible to suppress this standard output via ProcessSettings.RedirectStandardOutput, and also provides the ability to make any other tweaks a user would like by providing ProcessSettings to the Cake alias methods