Docs
chromia.com

build

Help output
Usage: chr build [<options>]

  Build an application and create a blockchain configuration

Configuration Properties:
  -s, --settings=<settings>  Alternate path for project settings file

Options:
  -bc, --blockchain=<blockchain>
                          Explicitly specify which blockchain(s) to compile
  -f, --format=(GTV|XML)  Blockchain configuration format
  --hide-lib-warnings     Hide library warnings in build output
  --skip-lib-check        Skipping library verification step
  -h, --help              Show this message and exit

The build command (chr build) creates a blockchain configuration for your dapp. By default, it reads from src folder and built configuration gets placed in the root folder under build, but you can change it in the project config file (chromia.yml) in compile:source and compile:target.

  • If you are in the working directory where the chromia.yml file presides, you can run the following command to create the blockchain configuration:
Terminal
chr build
  • Otherwise, you can set a path for the chromia.yml file or specify a different Project Settings file:
Terminal
chr build --settings chromia.yml