构建 & 任务自动化

最后更新于:2022-04-01 10:31:01

## 构建和任务自动化 >构建自动化是软件构建和相关流程的自动化过程, 包括: 将计算机源码编译成二进制代码, 打包二进制代码和运行自动化测试. - wikipedia **入门学习:** <ul> <li><a href="http://www.pluralsight.com/courses/javascript-build-automation-gulpjs" target="_blank">JavaScript Build Automation With Gulp.js</a> [watch][$]</li> <li><a href="https://www.packtpub.com/web-development/getting-started-gulp" target="_blank">Getting Started with Gulp</a> [read][$]</li> <li><a href="https://www.packtpub.com/web-development/rapid-gulp-video" target="_blank">Rapid Gulp</a> [watch][$]</li> <li><a href="http://hmphry.com/gulp" target="_blank">Learning Gulp - Getting started with the font end factory</a> [read]</li> <li><a href="http://teamtreehouse.com/library/gulp-basics" target="_blank">Gulp Basics</a> [watch][$]</li> <li><a href="http://teamtreehouse.com/library/using-npm-as-a-task-runner" target="_blank">Using npm as a Task Runner</a> [watch][$]</li> </ul> **参考/文档:** * [gulp](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md) Gulp 是非常棒的构建工具, 然后, 你可能仅仅只需要 `npm run`. 在你的应用程序栈变得负责之前, 问问你自己, `npm run`是否能完成自动化构建. 如果你需要更多, 可以同时使用 `npm run`和 Gulp. 推荐阅读: <ul> <li><a href="http://www.sitepoint.com/guide-to-npm-as-a-build-tool/" target="_blank">Give Grunt the Boot! A Guide to Using npm as a Build Tool</a></li> <li><a href="http://substack.net/task_automation_with_npm_run" target="_blank">Task automation with npm run</a></li> <li><a href="http://engineering.hobsons.com/2015/06/26/build-tools-vs-npm-scripts-why-not-both/" target="_blank">Build Tools vs npm Scripts: Why Not Both?</a></li> <li><a href="https://drublic.de/blog/npm-builds" target="_blank">Using npm as a build system for your next project</a></li> <li><a href="http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/" target="_blank">How to Use npm as a Build Tool</a></li> </ul> **译者补充:** * [Gulp不完全入门教程](http://www.ido321.com/1622.html)
';