tulsi icon indicating copy to clipboard operation
tulsi copied to clipboard

How to add extra argument when the tulsi running bazel

Open weinixuehao opened this issue 5 years ago • 3 comments

For example 17:20:26: Running /usr/local/bin/bazel info '--override_repository=tulsi=/Users/user/Library/Application Support/Tulsi/0.20200917.88/Bazel'

I want to add proxy when the bazel to run

Running /usr/local/bin/bazel info '--override_repository=tulsi=/Users/user/Library/Application Support/Tulsi/0.20200917.88/Bazel' --repo_env=http_proxy=http://127.0.0.1:8001

weinixuehao avatar Oct 14 '20 09:10 weinixuehao

Are those startup options or regular Blaze command options? Would a bazelrc file help?

DavidGoldman avatar Oct 14 '20 13:10 DavidGoldman

A bazelrc file in that bazel project which is the working project?

weinixuehao avatar Oct 15 '20 01:10 weinixuehao

Just another user, but I'd think adding to your project's .bazelrc would work, as @DavidGoldman said. Or also perhaps using the 'build' options or 'build' startup options settings, depending on what flags you want to set. Good luck!

cpsauer avatar Nov 22 '20 08:11 cpsauer

Thanks for submitting this issue but this tool is being deprecated. Please checkout rules_xcodeproj for a more complete and maintained Xcode integration.

keith avatar Feb 15 '23 17:02 keith