Z A IN R IZ V I
CPSC 102 Build Tools Z A IN R IZ V I What Are Build Tools? - - PowerPoint PPT Presentation
CPSC 102 Build Tools Z A IN R IZ V I What Are Build Tools? - - PowerPoint PPT Presentation
CPSC 102 Build Tools Z A IN R IZ V I What Are Build Tools? Automate the compiling of executable applications from source code. Why is this important? Compilation Order Computer Scientists are lazy 1 2 3 4 Specify the order in
What Are Build Tools?
Automate the compiling of executable
applications from source code.
Why is this important?
Compilation Order
1 2 3 4 Specify the order in which the modules are compiled, so you don’t have to compile all of them manually (and in the correct order). Computer Scientists are lazy
Dependencies
Your Program Other Libraries (Dependencies) Automatically
- btain dependencies
from the correct sources. Really helpful when you have several dependencies.
Automating Tests
Test 1 Test 2 Test n
…
ig projects include tests to ensure that the system runs as expected. Sometimes
- u run all of the tests, and sometimes you run only a few specifjc tests. Instead of
riting a driver program for running tests, you can have the build tool run the tes
- u want, just by specifying the names.
Computer Scientists are lazy
Make Build Automation Tool
Included in Unix Generic Build Tool (not specifjc to any 1
language)
Reads fjles called “Makefjle” Syntax: RULENAME: PREQUISITES
<tab> COMMAND
Computer Scientists are lazy
Apache - Maven
https://maven.apache.org/ Project management and comprehension tool Manage project, reporting, and
documentation.
Uses specifjc fjle structure and a fjle called
pom.xml
Working with Build Tools
Take a 10 minute break We’ll meet back in the lab Log onto D2L, and start on the assignments
for this module.