Tooling
The supercore scripts, Flutter commands and the generated CI workflow.
Docs version: supercore main · packages 1.0.0
About the CLILink to this section: About the CLI
After Framework does not ship a packaged CLI binary. The workflow is PowerShell scripts in supercore/scripts plus the standard Flutter and Dart commands.
ScriptsLink to this section: Scripts
| Script | Purpose |
|---|---|
| scripts/validate_product_spec.ps1 (opens in a new tab) | Validates a product.spec.yaml quickly, without Flutter. |
| scripts/generate_product.ps1 (opens in a new tab) | Generates or updates a sibling Super App from a spec or a name. Supports -DryRun. |
| scripts/check_reuse_contract.ps1 (opens in a new tab) | Checks a product against the platform reuse contract; -Strict turns warnings into failures. |
| scripts/wire_play_release_signing.ps1 (opens in a new tab) | Wires Play release signing for sibling apps; -BuildAab also builds app bundles. |
Flutter commandsLink to this section: Flutter commands
cd ..\superairport
flutter create .
flutter pub get
flutter analyze
flutter testSource supercore/scripts/generate_product.ps1 (opens in a new tab)
dart format --output=none --set-exit-if-changed .
flutter analyze
flutter test --coverage
# Platform doctrine check against a generated product
powershell -File scripts\check_reuse_contract.ps1 -AppRoot ..\superairportSource supercore/scripts/generate_product.ps1 · docs/PLATFORM_DOCTRINE.md (opens in a new tab)
Testing the packagesLink to this section: Testing the packages
cd packages/after_core && flutter pub get && flutter test
cd packages/after_design_system && flutter pub get && flutter test
cd packages/after_consumer && flutter pub get && flutter test
cd packages/after_enterprise && flutter pub get && flutter testGenerated CI workflowLink to this section: Generated CI workflow
name: analyze-and-test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
analyze-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Checkout supercore (sibling)
uses: actions/checkout@v5
with:
repository: oversteintech/supercore
path: ../supercore
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: dart format --output=none --set-exit-if-changed .
- run: flutter pub get
- run: flutter analyze
- run: flutter test --coverageSource supercore/scripts/generate_product.ps1 (.github/workflows/ci.yml) (opens in a new tab)
# Wires Play release signing for sibling apps; -BuildAab also builds bundles.
# key.properties / *.jks stay local and gitignored.
powershell -File scripts\wire_play_release_signing.ps1 -BuildAabSource supercore/scripts/wire_play_release_signing.ps1 (opens in a new tab)