A set of tools and scripts designed for Developers working on Ballerina Lang related repositories.
- JDK 11
- GNU Make 4.1+
- Docker
The make targets can be used to build ballerina pack and run the available test projects.
- Clone repository.
- Execute the following command to initialize and update all submodules.
git submodule update --init --recursive
The following make targets can be used to build a ballerina pack.
Make Target | Description |
---|---|
ballerina-pack.build |
Build Ballerina Pack without using Gradle build cache |
ballerina-pack.build.with-cache |
Build Ballerina Pack with Gradle build cache |
ballerina-pack.build.in-place-update |
In place update the Ballerina pack |
The ballerina pack should be available in <BALLERINA_DEV_KIT_ROOT>/packs
directory once one of the above targets
are executed.
The following make targets can be used to build and run a test project.
Make Target | Description |
---|---|
ballerina-project.<project>.build |
Build the |
ballerina-project.<project>.build.debug |
Build the with remote debug |
ballerina-project.<project>.run |
Run the |
ballerina-project.<project>.run.debug |
Run the with remote debug |
The following projects are available to be used along with the above targets and the <project>
placeholder can be
replaced with one of the following.
Project | Make Target Placeholder Replacement |
---|---|
Hello World Service | hello_world_service |
Simple Passthrough | simple_passthrough |
Chained Ballerina Service | chained_ballerina_service |
The following targets can be used to startup miscellaneous tools.
Make Target | Description |
---|---|
misc.jaeger.start |
Start a Jaeger Server in a Docker Container |
misc.prometheus.start |
Start a Prometheus Server in a Docker Container |
misc.grafana.start |
Start a Grafana Server in a Docker Container |
This is meant to help any developers aiming to contribute to Ballerina. This project is not complete and can improve in many ways. Contributions to the Ballerina Development Kit are highly welcome.