Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Write a description of what happens in a build #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NicMcPhee
Copy link
Member

This is a (draft) of a write-up that attempts to explain what happens when we perform a clean build on this project.

I'm not at all sure that everything here is correct, and would love feedback, suggestions, additions, etc.

This is a (draft) of a write-up that attempts to explain what happens when we perform a clean build on this project.
@joethe pointed out that I could use the `-m` flag to get a trace of what `gradle` will run without having all the output clutter, so I included that trace early in the write-up.
@NicMcPhee NicMcPhee self-assigned this Apr 7, 2017
Copy link
Member

@joethe joethe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

:server:build SKIPPED
```

These appear in the order in which they will need to be executed, which is sort of the reverse of the dependency graph. If a `gradle` task (e.g., `build`) depends on another `gradle` task (e.g., `check`), then the dependent task (`check`) appears first because it has to be completed before `build` can be considered done. The exact order you get might vary, especially if you (or we) have made some changes to the configuration or the codebase since this was written. Since the dependency graph is really a _graph_ there can be sets of tasks where there is no specified or required ordering among them. At the top level, for example, this has some of the `:server` tasks before the `:client` tasks, but I think that could have done all or most of the `:server` tasks after doing all the `:client` tasks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is check really the "dependent task" here? This is a bit nitpick-ey, but wouldn't that imply that check depends on build, and not the other way around?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants