41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
name: wyatt_package
|
|
description: A package generator following Wyatt Studio convention.
|
|
|
|
# The following defines the version and build number for your brick.
|
|
# A version number is three numbers separated by dots, like 1.2.34
|
|
# followed by an optional build number (separated by a +).
|
|
version: 0.1.0+1
|
|
|
|
# The following defines the environment for the current brick.
|
|
# It includes the version of mason that the brick requires.
|
|
environment:
|
|
mason: ">=0.1.0-dev.26 <0.1.0"
|
|
|
|
# Variables specify dynamic values that your brick depends on.
|
|
# Zero or more variables can be specified for a given brick.
|
|
# Each variable has:
|
|
# * a type (string, number, boolean, enum, or array)
|
|
# * an optional short description
|
|
# * an optional default value
|
|
# * an optional list of default values (array only)
|
|
# * an optional prompt phrase used when asking for the variable
|
|
# * a list of values (enums only)
|
|
vars:
|
|
package_name:
|
|
type: string
|
|
description: Package name (without wyatt prefix)
|
|
default: package
|
|
prompt: What is the package name ?
|
|
|
|
description:
|
|
type: string
|
|
description: A short package description
|
|
default: A new Wyatt package
|
|
prompt: "What is the package description?"
|
|
|
|
flutter_only:
|
|
type: boolean
|
|
description: Should generate a plugin (Flutter only) or a package (Dart and Flutter).
|
|
default: false
|
|
prompt: Should generate Flutter only plugin ?
|