Skip to content

fluent-ci-templates/buck-pipeline

Repository files navigation

Buck Pipeline

fluentci pipeline deno compatibility

A ready-to-use Pipeline for Buck projects.

🚀 Usage

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 .

Jobs

Job Description
build Build project
test Run tests

Programmatic usage

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/[email protected]/mod.ts";

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await test(client, src);
    await build(client, src);
  });
}

pipeline();