Skip to content

Commit

Permalink
feat: bump v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nghialv committed Dec 11, 2018
0 parents commit 525dd23
Show file tree
Hide file tree
Showing 240 changed files with 17,092 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .bazelrc
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
27 changes: 27 additions & 0 deletions .gitignore
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
11 changes: 11 additions & 0 deletions BUILD.bazel
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",
)
Loading

0 comments on commit 525dd23

Please sign in to comment.