Skip to content

Commit

Permalink
Use --config to tell bazel about the environment.
Browse files Browse the repository at this point in the history
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").
  • Loading branch information
iphydf committed Aug 14, 2018
1 parent 52dd557 commit fc34fee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis/bazel-linux
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit fc34fee

Please sign in to comment.