Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Update docs. #67

Merged
merged 2 commits into from
Nov 16, 2017
Merged

Update docs. #67

merged 2 commits into from
Nov 16, 2017

Conversation

ensonic
Copy link
Contributor

@ensonic ensonic commented Nov 14, 2017

Update the docs for the docker_rules.

@bazel-io
Copy link
Member

Can one of the admins verify this patch?

Copy link
Contributor

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

README.md Outdated
@@ -28,10 +28,10 @@ git_repository(

load(
"@io_bazel_rules_docker//docker:docker.bzl",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should load this from container:container.bzl if we're going to use this name (which we should!).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well spotted. Thanks and fixed.

Update the docs for the docker_rules.
According to
https://docs.bazel.build/versions/master/command-line-reference.html#run
run inherits from build and therefore we can omit the entry for run.
@@ -203,7 +203,6 @@ the following:
```shell
$ cat .bazelrc
build --workspace_status_command=./print-workspace-status.sh
run --workspace_status_command=./print-workspace-status.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See commit message:
Simplify .bazelrc example. …
According to
https://docs.bazel.build/versions/master/command-line-reference.html#run
run inherits from build and therefore we can omit the entry for run.

@mattmoor
Copy link
Contributor

Cool thanks. Travis only runs properly from PRs coming from branches on the main repo (b/c of secrets), and I'm just going to skip Bazel CI because this is README only.

@mattmoor mattmoor merged commit fe8a6dc into bazelbuild:master Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants