{"id":13450874,"url":"https://github.com/thanetz/bazel-for-human-beings","last_synced_at":"2025-03-23T16:32:32.267Z","repository":{"id":218313586,"uuid":"149871931","full_name":"thanetz/bazel-for-human-beings","owner":"thanetz","description":"Bazel lightweight plugin for PyCharm","archived":false,"fork":false,"pushed_at":"2019-02-15T10:19:06.000Z","size":597,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-31T07:15:52.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thanetz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-22T11:45:38.000Z","updated_at":"2024-07-31T07:15:59.313Z","dependencies_parsed_at":null,"dependency_job_id":"2c469ebf-66d3-4705-8041-ac45aab14295","html_url":"https://github.com/thanetz/bazel-for-human-beings","commit_stats":null,"previous_names":["thanetz/bazel-for-human-beings","tomhanetz/bazel-for-human-beings"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanetz%2Fbazel-for-human-beings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanetz%2Fbazel-for-human-beings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanetz%2Fbazel-for-human-beings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanetz%2Fbazel-for-human-beings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thanetz","download_url":"https://codeload.github.com/thanetz/bazel-for-human-beings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221856483,"owners_count":16892449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T07:00:39.644Z","updated_at":"2024-10-28T16:32:03.964Z","avatar_url":"https://github.com/thanetz.png","language":"Java","funding_links":[],"categories":["Tooling"],"sub_categories":["Editors"],"readme":"# Bazel For Human Beings\nBazel lightweight plugin for PyCharm\n\n![Bazel4HumanBeingsLogo](examples/BazelForHumanBeings_128x128.png)\n\n## Usage\n### TL;DR\nConfigure the bazel path in ```Preferences -\u003e Bazel For Human Beings Configuration```\n\n\nAdd new Bazel For Human Beings run configuration with the bazel rule or \nsimply right click on a code file and Bazel For Human Beings will find the correct bazel rule for you\n\nThat's it now you can run bazel tasks from inside PyCharm!\n\n### In Depth\n#### Bazel Executable path\n\nConfigure the bazel executable path in ```Preferences -\u003e Bazel For Human Beings Configuration```\n\n![Bazel4HumanBeingsLogo](examples/preferences-configure-bazel-path.png)\n\nAs you can see above, there are two text boxes, one for the bazel query, and one for the bazel run.\n\nBazel for Human Beings is using bazel query command in order to get metadata on your run - \nfor example derive the bazel rule type automatically, or suggest bazel rule based on the python file.\n\nIn this screen you can specify different bazel executable for the query commands and different one for the run, build and test commands.\nThe main purpose of this separation is to enable the usage of third party bazel run wrappers like [Dazel](https://github.com/nadirizr/dazel);\n\n#### Bazel for Human Beings Run Configuration\n\nAfter you install the plugin, you will receive new run configuration option: Bazel For Human Beings.\n\n![Create New Run Configuration](examples/create-new-run-configuration.png)\n\nSelect it to create new Bazel For Human Beings run configuration.\n\n![New Run Configuration](examples/new-run-configuration.png)\n\nIn the bazel execution path text box, enter the path to your rule.\n \nThe next text box is optional, and let you pass comma separated list of parameters to the bazel run command.\n\nSave the run configuration, and you are good to go!\n\n#### Create Run Configuration from context menu\n\nWe are human beings, and we don't remember the bazel rule path for each and every task.\nNot to worry, Bazel for Human Beings creates new run configuration for you!\n\nSimply right click on your code file, and select \"Create Bazel ...\" and the run configuration will be created for you!\n\n![Create New Run Configuration From Context Menu](examples/create-run-configuration-context-menu.png)\n\nYou can also user the \"Run 'Bazel: ...\" in order to create new run configuration and execute it.\n\n#### Execute your Bazel For Human Beings Configuration\n\nAfter you create new run configuration, now its the time to execute it - select your configuration and click run.\nYou probably noticed that you haven't selected the bazel action, \nThat's because Bazel For Human Beings automatically derive the bazel action required for this python bazel rule.\n\nSo just run the configuration and Bazel For Human Beings will show you the test browser, if this is test action, \nor simple console window for build, and run.\n\n![Test Results Example](examples/example-test-results.png)\n\n\n## Build\n\nUsing gradle jar task\n\n## Version Support\n\nPyCharm 2018.3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanetz%2Fbazel-for-human-beings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthanetz%2Fbazel-for-human-beings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanetz%2Fbazel-for-human-beings/lists"}