官术网_书友最值得收藏!

Automation

Depending on what you're used to, I've got some bad news for you. When doing CI, the command line is your best friend. Personally, I see the need for a command line, but I don't like it one bit. It requires way too much typing and memorization for my taste. Anyway, Linux users rejoice and spoiled Windows users get ready for a trip back to the 80s when user interfaces had yet to be invented. However, we're going to automate a lot, and that will be the computer's job. Computers don't use user interfaces. So, while you hit F5 in Visual Studio and compile your code, your build server needs to know it should run MSBuild with some parameters, such as the location of your solution or the msbuild file.

Luckily, most tools have some form of command-line interface. Whether you are working with .NET, JavaScript, Java, SQL Server, Oracle, or any language or tool, you can always run it using a command line. Throughout this book, we will use various tools and I do not think we will use any of them without using the command line as well. In fact, the command line seems to be back (although, was it ever really gone?). Various tools, such as NodeJS, npm, and MongoDB, are used through the command line. Furthermore, we will see tools, such as MSBuild, MSTest, and NuGet, that all work from the command line (or from a single click in your IDE).

主站蜘蛛池模板: 长沙县| 宁武县| 武定县| 临清市| 康保县| 临洮县| 桐柏县| 阿瓦提县| 大姚县| 十堰市| 永嘉县| 辽宁省| 合江县| 长白| 通州市| 洛宁县| 江安县| 元朗区| 准格尔旗| 灵璧县| 大石桥市| 望奎县| 巴林左旗| 广昌县| 屏山县| 镇平县| 周宁县| 休宁县| 嘉荫县| 左云县| 新昌县| 克什克腾旗| 金沙县| 新邵县| 枝江市| 香河县| 重庆市| 汉川市| 交城县| 文山县| 内乡县|