Add .bazelignore to skip examples, deb_packages subdirectories (#457)

As of #443, all of the rules_pkg files are now in a WORKSPACE relative to the
root of the repository.  These are now shared with the `deb_packages/` and
`examples/` subdirectories, which contain their own WORKSPACE files.  This
confuses Bazel and prevents us from testing `//...`.

This changes allows us to build/test `//...` by adding those directories to a
.bazelignore file at the root of the repository.

Most people working on rules_pkg aren't going to be touching these, and if they
are, they need to be in those WORKSPACEs anyway, so there should be no harm in
this.
This commit is contained in:
Andrew Psaltis 2021-11-04 16:01:56 -04:00 committed by GitHub
parent d0997d0d81
commit a9226117db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

5
.bazelignore Normal file
View File

@ -0,0 +1,5 @@
# The following directories have their own WORKSPACEs (or contain WORKSPACEs),
# so they shouldn't be built when in the main part of the rules_pkg repository.
deb_packages/
examples/