From fc34fee59abbd79bd530b57fcbc030bde45df00a Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 14 Aug 2018 20:34:24 +0000 Subject: Use `--config` to tell bazel about the environment. Instead of importing a well-known file. This gives toktok-stack more freedom in where and how it wants to define its interface, as long as it provides the configurations requested ("linux" and "clang"). --- .travis/bazel-linux | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.travis') diff --git a/.travis/bazel-linux b/.travis/bazel-linux index 0073a39e..1e19d640 100755 --- a/.travis/bazel-linux +++ b/.travis/bazel-linux @@ -10,7 +10,8 @@ travis_install() { chmod +x bazel-0.15.0-installer-linux-x86_64.sh ./bazel-0.15.0-installer-linux-x86_64.sh --user echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc - echo "import %workspace%/tools/bazelrc/linux-$CC" >> $HOME/.bazelrc + echo 'build --config=linux' >> $HOME/.bazelrc + echo "build --config=$CC" >> $HOME/.bazelrc } travis_script() { -- cgit v1.2.3