Build file

A summary of all build file configuration options

The build file is a yaml file with the filename build.yaml inside your project directory. It contains a list of tasks which can be executed over the cli.

.hammerkit.yaml
envs:
  NODE_VERSION: 14.16.0

tasks:
  build:
    image: node:$NODE_VERSION
    deps: [npm:install]
    cmds:
      - tsc -b

references:
  subProject: ./packages/subproject

includes:
  npm: ./build.npm.yaml

For more detail about the structure of the build file, checkout the following sections.

pageEnvironment VariablespageReferencespageIncludes

Last updated