37 lines
766 B
Markdown
37 lines
766 B
Markdown
|
|
# DataBuild
|
|
|
|
DataBuild is a trivially-deployable, partition-oriented, declarative build system.
|
|
|
|
For important context, check out [DESIGN.md](./DESIGN.md). Also, check out [`databuild.proto`](./databuild/databuild.proto) for key system interfaces.
|
|
|
|
## Usage
|
|
|
|
See the [podcast example BUILD file](examples/podcast_reviews/BUILD.bazel).
|
|
|
|
## Development
|
|
|
|
### Intellij
|
|
|
|
Run these to allow intellij to understand the rust source:
|
|
|
|
```bash
|
|
# Generate a Cargo.toml file so intellij can link rust src
|
|
python3 scripts/generate_cargo_toml.py
|
|
# Generate a gitignore'd rust file representing the protobuf interfaces
|
|
scripts/generate_proto_for_ide.sh
|
|
```
|
|
|
|
### Testing
|
|
|
|
DataBuild core testing:
|
|
|
|
````bash
|
|
bazel test //...
|
|
````
|
|
|
|
End to end testing:
|
|
|
|
```bash
|
|
./run_e2e_tests.sh
|
|
```
|