GitXplorerGitXplorer
i

bazel-transitive-impact

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7c32011d4e69638a4f11d94036c25d3438da9a29

Update README.md

iittaiz committed 9 years ago
Unverified
f0fd58ff1b0f569e739f38aaeeea3e9abeb0ff03

Create README.md

iittaiz committed 9 years ago
Unverified
cb418f393fb1d48ffb26cb1b18d457bedc3b6205

first commit

iittaiz committed 9 years ago

README

The README file for this repository.

bazel-transitive-impact

Exploring a nuance with impact of transitive changes in Bazel and test running

  • GreeterTest => greeter (depends BUILD, compile and runtime)
  • greeter => before_greeter (depends only BUILD file wise, source code has no relation and that is to create a situation where change in before_greeter outputs the same greeter)
  • before_greeter => greeter (depends only BUILD file wise, source code has no relation and that is to create a situation where change in before_before_greeter outputs the same before_greeter)

When changing a single character in BeforeBeforeGreeting.java (which nothing depends on source wise) and running bazel test GreeterTest --explain=foo.log GreeterTest is run

Contents of explain:

Executing action 'BazelWorkspaceStatusAction stable-status.txt': unconditional execution is requested.
Executing action 'Building libbefore_before_greeter.jar (1 source file)': One of the files has changed.
Executing action 'Extracting interface //:before_before_greeter': One of the files has changed.
Executing action 'Testing //:GreeterTest': One of the files has changed.```