hammerkit
  • About
  • Installation
  • Getting started
  • Build file
    • Environment Variables
    • References
    • Includes
  • Task
    • Dependencies
    • Needs
    • Caching
    • Container
    • Watching
    • Extending
  • Service
    • Container
    • Kubernetes
  • Labels
  • CLI
    • Init
    • ls
    • Execute
    • Store / Restore
    • Clean
    • Validate
    • Help
  • External Links
    • Docker Hub
    • Homebrew Repository
  • Release Blog
    • Release 1.4.0
    • Release 1.5.0
  • Contribution
    • Roadmap
    • Publishing
Powered by GitBook
On this page

Was this helpful?

Build file

A summary of all build file configuration options

PreviousGetting startedNextEnvironment Variables

Last updated 2 years ago

Was this helpful?

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

.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.

tasks
cli
Environment Variables
References
Includes