build

EnDaft

Operations and utilities for the EnDaft solution templates.

Installation

dart pub global activate endaft

Operation

Check out the examples

A First Build

Below is an example of endaft output on an initial build when it has to create the docker builder first.

โฏ endaft build

๐Ÿค– Processing Docker Build
   ๐Ÿงฑ Building endaft-lambda-api-builder image =>
      ๐Ÿ”ต sha256:771a4fb143c3861eb36c63f04be09cf5b81e2f1505f47aaad96e94701dd6bc9b
   ๐Ÿงฑ Building endaft-lambda-api-builder image........โœ…
๐Ÿ Finished Docker 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

Libraries

aggregate
all
all
all
base
base
build
build_runner_build
build_runner_clean
check
check_fs
check_tools
clean_dir
dart_compile
dart_test
docker
docker_al2
docker_build
docker_run
endaft
enums
extensions
git_status
install
install_endaft_files
lambda
log_pipe
logger
pub_get
run_sh
schema_lambda
schema_shared
shared
template
test
update_schemas
utils
validate
validate_json
zip_archive