Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/google/heroku-buildpack-bazel
https://github.com/google/heroku-buildpack-bazel
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/google/heroku-buildpack-bazel
- Owner: google
- License: apache-2.0
- Archived: true
- Created: 2016-08-19T17:44:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-16T02:46:21.000Z (over 5 years ago)
- Last Synced: 2024-07-31T07:15:42.900Z (3 months ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 7
- Watchers: 3
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
- awesome-bazel - heroku-buildpack-bazel - Heroku buildpack for Bazel (Tooling / General)
README
# heroku-buildpack-bazel
Heroku buildpack for [Bazel](http://www.bazel.io). Currenly, only Java is supported.Bazel is an open-source build tool created by and for the engineers at Google.
## Required files
1. `BUILD`
See the documentation on top-level [BUILD](http://www.bazel.io/docs/tutorial/java.html#creating-your-own-build-file) files.
2. `WORKSPACE`
See the documentation on [Bazel WORKSPACE](http://www.bazel.io/docs/tutorial/workspace.html).
3. `build_path`
This file should contain text for the bazel path to the deploy jar for your application.
For example, if the path to your `java_binary` target is `pkg:server`, this file should contain:
```text
pkg:server_deploy.jar
```## Default Procfile
The default `Procfile` is:
```Procfile
web: .jdk/bin/java -jar app.jar
```This does not need to be included in your app.
If you need custom JVM flags, you'll need to include a custom `Procfile` with your application. Modify the line above with the flags you want.
## Use this buildpack
```shell
heroku buildpacks:set https://github.com/google/heroku-buildpack-bazel
```