Flutter
Running the pre-built Flutter pipeline directly
Run the following command to run the pre-built Flutter pipeline without having to initialize a project:
fluentci run flutter_pipeline
Add Flutter Pipeline to your project
Run the following command to add Flutter pipeline to your project:
fluentci init -t flutter
This will create a .fluentci
directory in your project, feel free to customize the pipeline for your needs.
You can then run the following command to start the pipeline:
fluentci run .
Or simply just run:
fluentci
Environment variables
Variable | Description | Default |
---|---|---|
FLUTTER_VERSION | Flutter version to use | 3.13.1 |
BUILD_OUTPUT_TYPE | Build output type (aar , apk , appbundle , bundle , linux , web ) | apk |
Jobs
Job | Description |
---|---|
codeQuality | Run code quality checks |
test | Run tests |
build | Build release |
Programmatic usage
You can also use this pipeline programmatically:
import Client, { connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts";
import { codeQuality, test, build } from "https://pkg.fluentci.io/[email protected]/mod.ts";
await codeQuality();
await test();
await build();