ci
The moon ci command is a special command that should be ran in a continuous integration (CI)
environment, as it does all the heavy lifting necessary for effectively running tasks.
By default this will run all tasks that are affected by touched files and have the
runInCI task option enabled.
$ moon ci
However, you can also provide a list of targets to explicitly run, which will still be filtered down
by runInCI.
$ moon ci :build :lint
View the official continuous integration guide for a more in-depth example of how to utilize this command.
Arguments
...[target]- Targets to run.
Options
--base <rev>- Base branch, commit, or revision to compare against (learn more).--downstream- Control the depth of downstream dependents. Defaults todirect. v1.41.7--head <rev>- Current branch, commit, or revision to compare with (learn more).--job <index>- Index of the current job.--jobTotal <total>Total amount of jobs to run.--stdin- Accept touched files from stdin for affected checks. v1.36.0--upstream- Control the depth of upstream dependencies. Defaults todeep. v1.41.7
Configuration
tasksin.moon/tasks.ymltasksinmoon.ymltasks.*.options.runInCIinmoon.yml