-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 525dd23
Showing
240 changed files
with
17,092 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
startup --expand_configs_in_place | ||
|
||
# Show us more details | ||
build --show_timestamps --verbose_failures | ||
test --test_output=errors --test_verbose_timeout_warnings | ||
|
||
# Include git version info | ||
build --workspace_status_command hack/print-workspace-status.sh | ||
|
||
# Preset definitions | ||
build --define DOCKER_REGISTRY=index.docker.io/nghialv2607 | ||
|
||
# https://github.com/bazelbuild/rules_go/blob/master/go/modes.rst | ||
build --features=pure | ||
|
||
# Make /tmp hermetic | ||
build --sandbox_tmpfs_path=/tmp | ||
|
||
# Ensure that Bazel never runs as root, which can cause unit tests to fail. | ||
# This flag requires Bazel 0.5.0+ | ||
build --sandbox_fake_username | ||
|
||
# Enable go race detection | ||
build:unit --features=race | ||
test:unit --features=race |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, build with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
.DS_Store | ||
|
||
# Bazel | ||
/bazel-bin | ||
/bazel-genfiles | ||
/bazel-lotus | ||
/bazel-out | ||
/bazel-testlogs | ||
|
||
# golang | ||
/vendor | ||
|
||
# libsonnet | ||
/libsonnet/.tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
load("@bazel_gazelle//:def.bzl", "gazelle") | ||
|
||
# gazelle:exclude vendor | ||
# gazelle:exclude install | ||
# gazelle:exclude hack | ||
# gazelle:build_file_name BUILD.bazel | ||
# gazelle:prefix github.com/nghialv/lotus | ||
|
||
gazelle( | ||
name = "gazelle", | ||
) |
Oops, something went wrong.