A ready-to-use Pipeline for Buck projects.
Run the following command in your project:
dagger run fluentci buck_pipeline
Or, if you want to use it as a template:
fluentci init -t buck
This will create a .fluentci
folder in your project.
Now you can run the pipeline with:
dagger run fluentci .
Job | Description |
---|---|
build | Build project |
test | Run tests |
You can also use this pipeline programmatically:
import Client, { connect } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
import { test, build } from "https://pkg.fluentci.io/buck_pipeline@v0.1.3/mod.ts";
function pipeline(src = ".") {
connect(async (client: Client) => {
await test(client, src);
await build(client, src);
});
}
pipeline();