mvvm_app_template/brick.yaml

48 lines
1.6 KiB
YAML

name: mvvm_app_template
description: A new brick created with the Mason CLI.
# The following defines the brick repository url.
# Uncomment and update the following line before publishing the brick.
# repository: https://github.com/my_org/my_repo
# 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.51 <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, array, or list)
# * 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)
# * an optional separator (list only)
vars:
app_name:
type: string
description: Name of project
default: example
prompt: What is the name of the project?
dispay_name:
type: string
description: App display name
default: MyExample
prompt: What should be the actual app display name on screen?
android_app_id:
type: string
description: Android application ID
default: com.domain.example
prompt: What should be Android application ID?
ios_bundle_id:
type: string
description: iOS bundle ID
default: com.domain.example
prompt: What should be iOS app bundle ID?