Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -strict to exit on build file and directive errors #1214

Merged
merged 7 commits into from
Apr 18, 2022

Commits on Mar 24, 2022

  1. add -strict to exit on build file and directive errors

    Gazelle tolerates common errors, which is fine for daily uses.
    However when being used for scripting, we will need a way to
    tell if such errors have occored. This CL adds -strict flag
    to exit with non-zero value after seeing those errors.
    dr-dime committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    0c4e1fa View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Merge remote-tracking branch 'upstream/master' into cl/strict-mode

    * upstream/master:
      fix: Remove gazelle_binary import collision (bazelbuild#1226)
      Update extend.md with a practical languages example (bazelbuild#1222)
      Add test of diff mode
      Add e2e test for normal operations
      Make `gazelle_generation_test`'s take a list
      Add instructions on regenerating `go_repository_tools_srcs.bzl`
      fix(tests): fix gazelle_generation_test expected stderr update (bazelbuild#1220)
    dr-dime committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    e8557f8 View commit details
    Browse the repository at this point in the history
  2. update

    dr-dime committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    0a9b783 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Merge remote-tracking branch 'upstream/master' into cl/strict-mode

    * upstream/master:
      gazelle_generation_test: redact workspace path from output
      Broaden label name regex (bazelbuild#1229)
    dr-dime committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    fe2d12e View commit details
    Browse the repository at this point in the history
  2. update

    dr-dime committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    585273e View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. Merge remote-tracking branch 'upstream/master' into cl/strict-mode

    * upstream/master:
      Add -print0 to print names of rewritten files (bazelbuild#1213)
    dr-dime committed Apr 10, 2022
    Configuration menu
    Copy the full SHA
    c640a41 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. update

    dr-dime committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    bf6332a View commit details
    Browse the repository at this point in the history