← Module 08 · Development & GitPART VIII · DEVELOPMENT & GIT
Build
The process of turning source code into a form that can be run, packaged, tested, or deployed.
01
What is it?
Build is the process of turning source code into a form that can be run, packaged, tested, or deployed.
A build can compile code, bundle files, process assets, include dependencies, and create a consistent output from a set of source files.
Simple Definition:
Build turns source code into a usable software artifact.
02
Think of it like...
Think of a build like preparing a recipe for serving.Source code is the ingredients and instructions. The build combines and prepares them into something that can run.
Product manager translationA build makes the same source code produce a known, repeatable output.
Source Code
→↓Build
→↓Build Artifact
→↓Run / Deploy
03
What does it do?
Compile Source Code
Bundle Files
Process Assets
Include Dependencies
Generate Artifacts
Run Checks
04
Where is it used?
Web Applications
Mobile Applications
Backend Services
Libraries
Command-line Tools
CI/CD Pipelines
05
Example
src/
app.js
styles.css
package.json
npm run build
dist/
app.bundle.js
styles.css
Input
Source files and project configuration.
Output
A build artifact ready for testing or deployment.
The build command transforms the source files into the output files in dist/.
06
How it connects
Source Code
→↓Build Tool
→↓Build Artifact
→↓Test / Deploy
The build step sits between editable source code and the artifact that other steps can test, package, or deploy.
07
Do Not Confuse
Build
Transforms source code into an output.
Deploy
Places the output into an environment where it can run.
Build = Prepare Output
Deploy = Run Output Somewhere
08
Topic Glossary
| ENGLISH TERM | 中文 | SIMPLE ENGLISH | 中文小白理解 |
|---|
| Build | 构建 | Turning source code into a form that can be run or deployed. | 把源代码处理成可以运行或部署的软件版本。 |
| Build Tool | 构建工具 | Software that automates build steps. | 自动执行构建步骤的软件工具。 |
| Compiler | 编译器 | A tool that transforms source code into another executable form. | 把源代码转换成另一种可执行形式的工具。 |
| Bundler | 打包工具 | A tool that combines files into a build output. | 把多个文件合并整理成构建输出的工具。 |
| Build Artifact | 构建产物 | An output produced by a build. | 构建过程产生、可用于测试或部署的软件输出。 |
| Source Code | 源代码 | The original code used as build input. | 构建过程使用的原始代码。 |
09
What to Remember
Build turns source code into a known output.
The output can be tested, packaged, or deployed.
A repeatable build helps teams produce consistent software artifacts.
Source Code → Build → Build Artifact