mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08: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:
parent
52dd5575ab
commit
fc34fee59a
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user