endaft 0.0.4-dev.46 endaft: ^0.0.4-dev.46 copied to clipboard
Operations and utilities for the enDaft (Dart, AWS, Flutter, Terraform) solution templates.
Operation Examples #
General operation can be discovered running endaft
, like:
โฏ endaft
Operations and utilities for the EnDaft (Dart, Flutter, AWS, Terraform) solution templates.
Usage: endaft <command> [arguments]
Global options:
-h, --help Print this usage information.
Available commands:
General
build The primary interaction command. This runs an orchestrated build, excluding your app, and produces a .dist
folder in your workspace root with the outputs for server deployment.
check Checks your environment for EnDaft required tools.
install Installs the required Dockerfile, schema files, and updates the IaC JSON files to use the appropriate
schemas.
validate Validates your solution state and settings for deployment readiness.
Granular
aggregate Performs the EnDaft deployment aggregation routine.
docker Runs a build in a EnDaft docker image, building the image first if needed.
lambda Builds and packages lambdas for distribution.
shared Builds the shared library for the lambdas and app.
Run "endaft help <command>" for more information about a command.
A Typical Build #
A typical build execution should look something like the block below. The docker builder name endaft-lambda-api-builder
is derived from your <workspace_dir>-builder
and there are options to override this.
โฏ endaft build
๐ณ Running in endaft-lambda-api-builder...............โ
๐ค Processing Checks
๐ Looking for dart..............................โ
๐ Looking for git...............................โ
๐ Checking for Dockerfile.al2...................โ
๐ Checking for run.sh...........................โ
๐ Finished Checks
๐ค Processing Validate
๐ง shared schema.................................โ
๐ง lambdas/meta schema...........................โ
๐ง lambdas/todos schema..........................โ
๐ x-check api routes............................โ
๐ Finished Validate
๐ค Processing Shared
๐งผ Cleaning shared...............................โ
๐ Dependencies for shared.......................โ
๐ Runner build shared...........................โ
๐ Finished Shared
๐ค Processing Lambdas
๐ Finding lambdas...............................โ
ฦ Handling meta =>
๐งผ Cleaning meta..............................โ
๐ Dependencies for meta......................โ
๐ช Compiling meta โ bootstrap.................โ
๐ฆ Packing bootstrap โ lambda_meta.zip........โ
ฦ Handling meta.................................โ
ฦ Handling todos =>
๐งผ Cleaning todos.............................โ
๐ Dependencies for todos.....................โ
๐ช Compiling todos โ bootstrap................โ
๐ฆ Packing bootstrap โ lambda_todos.zip.......โ
ฦ Handling todos................................โ
๐ Finished Lambdas
๐ค Processing Aggregate
๐ฅ Received lambda_meta.zip, lambda_todos.zip
๐ Copying lambda_meta.zip.......................โ
๐ Copying lambda_todos.zip......................โ
๐ฉ Merging IaC definitions.......................โ
๐ Noting IaC Hash...............................โ
๐ Finished Aggregate