Wyatt Bricks
About
Generate consistent code fast. Use reusable templates called wyatt bricks to supercharge your workflow.
Quick Start
# 🎯 Activate from https://pub.dev
dart pub global activate mason_cli
# 🚀 Initialize mason if needed
mason init
Create a Brick
- Create a Brickgen project in
apps/
.
mason make wyatt_brick_template -o apps/new_brick
- Create/Modify your compilable code in
apps/new_brick/new_brick
. - Customize the
brickgen.yaml
config file. - Generate the brick using
brickgen
cli tool.
dart ./tools/brick_generator/bin/brickgen.dart ./apps/new_brick/ ./bricks/
More infos about generator in
./tools/brick_generator
.
💡 You can also build all the bricks with ./tools/build.sh
Use
Please add your bricks in ./bricks
. (See Create a Brick
section)
Please specify the prerequisites necessary to use the brick (The code must be able to compile directly after its integration.)
# To load all bricks (and generate mason-lock.json)
mason get
Description
Languages
Dart
97.5%
HTML
1.8%
Shell
0.7%