mirror of
https://github.com/TokTok/c-toxcore
synced 2026-07-22 19:30:59 +00:00
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").
This commit is contained in:
+2
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user