v0.2.1
A ready-to-use CI/CD Pipeline for Flutter projects.
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
esm.sh
Flutter Pipeline
A ready-to-use Pipeline for your Flutter projects.
🚀 Usage
Run the following command in your project:
dagger run fluentci flutter_pipelineOr, if you want to use it as a template:
fluentci init -t flutterThis will create a .fluentci folder in your project.
Now you can run the pipeline with:
dagger 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://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://pkg.fluentci.io/flutter_pipeline/mod.ts";
const { codeQuality, test, build } = Dagger;
function pipeline(src = ".") {
connect(async (client: Client) => {
await codeQuality(client, src);
await test(client, src);
await build(client, src);
});
}
pipeline();