# Flow build

1. [Description](#description)
1. [Steps](#steps)
1. [Excluded Contexts](#excluded-contexts)

## <a name="description"></a>Description

In this section we will build the software unit.
We will resolve all the software **dependencies** of the 
software and we will **compile** the code and detect all the 
compilation-time errors.

## <a name="steps"></a>Steps:


```json
{
  "resolve-deps": {},
  "build": {}
}
```
    
* `resolve-deps`: Resolve all the dependencies in compilation time defined. Check for the bower.json dependencies, or the maven dependecies, or the package.json dependencies. Provide all dependencies necessary to build the source code of the context.
* `build`: Compile, apply templating, prepare source code for be tested, packaged and deployed.

## <a name="excluded-contexts"></a>Excluded contexts

All the gitflow contexts are excluded:

* [develop][1]
* [master][2]
* [feature][3]
* [hotfix][4]
* [release][5]
* [merger][6]
* [consolidation][7]


[1]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/develop/index.js
[2]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/master/index.js
[3]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/feature/index.js
[4]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/hotfix/index.js
[5]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/release/index.js
[6]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/merger/index.js
[7]: https://globaldevtools.bbva.com/bitbucket/projects/CTOOL/repos/pisco-gitflow-contexts/browse/contexts/consolidation/index.js
