Skip to content

Commit

Permalink
build: switch to buildbuddy
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Dec 15, 2020
1 parent 09d07c0 commit 062eac6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .bazelrc
Expand Up @@ -6,6 +6,11 @@

build --action_env=PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin

build --bes_results_url=https://app.buildbuddy.io/invocation/
build --bes_backend=grpcs://cloud.buildbuddy.io
build --remote_header=x-buildbuddy-api-key=ktodncN3k6rwqI3XNxue
build --build_metadata=REPO_URL=https://github.com/formatjs/formatjs.git

# Give me dem stack traces
build --verbose_failures

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"bazel:lint": "find . -type f \\( -name \"*.BUILD\" -or -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs buildifier -v --warnings=attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,git-repository,http-archive,integer-division,load,load-on-top,native-build,native-package,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,same-origin-load,string-iteration,unsorted-dict-items,unused-variable",
"build": "bazel build //...",
"build": "bazel build //... --build_metadata=COMMIT_SHA=$(git rev-parse HEAD)",
"examples": "bazel run //packages/react-intl/examples",
"format": "yarn bazel:lint --lint=fix && bazel run :prettier_all",
"karma:ci": "bazel test :karma-ci",
Expand Down

0 comments on commit 062eac6

Please sign in to comment.