Skip to main content
warning

Documentation is currently for moon v2. If you are using v1, some of the examples and settings may differ in syntax and functionality.

check

The moon check [...projects] (or moon c) command will run all build and test tasks for one or many projects. This is a convenience command for verifying the current state of a project, instead of running multiple moon run commands.

# Check project by name
$ moon check app

# Check multiple projects by name
$ moon check client server

# Check project at current working directory
$ moon check --closest

# Check ALL projects (may be costly)
$ moon check --all

Arguments

  • [...id] - List of project IDs or aliases to explicitly check, as defined in projects.

Options

Inherits all options from moon exec except for --on-failure.

  • --all - Run check for all projects in the workspace.
  • --closest - Run check for the closest project starting from the current working directory.

Configuration