abundant-analyst-12845
12/01/2022, 2:02 PM--check
commands do. following the CI tutorial and got the following output when running ./pants tailor --check update-build-files --check
[WARN] No arguments specified with `./pants tailor`, so the goal will do nothing.
Instead, you should provide arguments like this:
* `./pants tailor ::` to run on everything
* `./pants tailor dir::` to run on `dir` and subdirs
* `./pants tailor dir` to run on `dir`
* `./pants --changed-since=HEAD tailor` to only run on changed and new files
13:28:03.85 [WARN] No arguments specified with `./pants update-build-files`, so the goal will do nothing.
Instead, you should provide arguments like this:
* `./pants update-build-files ::` to run on everything
* `./pants update-build-files dir::` to run on `dir` and subdirs
* `./pants update-build-files dir` to run on `dir`
* `./pants update-build-files dir/BUILD` to run on that single BUILD file
* `./pants --changed-since=HEAD update-build-files` to run only on changed BUILD files
wide-midnight-78598
12/01/2022, 2:17 PMabundant-analyst-12845
12/01/2022, 2:17 PMwide-midnight-78598
12/01/2022, 2:17 PMwide-midnight-78598
12/01/2022, 2:18 PMwide-midnight-78598
12/01/2022, 2:18 PM./pants --changed-since=origin/main fmt
Will run format only on changed fileswide-midnight-78598
12/01/2022, 2:18 PM./pants fmt ::
will run format on all targetswide-midnight-78598
12/01/2022, 2:19 PMchanged-since
piece for your original command to workabundant-analyst-12845
12/01/2022, 2:21 PM./pants --changed-since=origin/main tailor :: --changed-since=origin/main update-build-files ::
abundant-analyst-12845
12/01/2022, 2:21 PMwide-midnight-78598
12/01/2022, 2:21 PM❯ ./pants \
--changed-since=origin/main \
tailor --check \
update-build-files --check \
lint
That's 1 line, multiple commandswide-midnight-78598
12/01/2022, 2:23 PMabundant-analyst-12845
12/01/2022, 2:26 PM./pants --changed-since=origin/main tailor \ --changed-since=origin/main update-build-files
can't be run together due to this
You used `--changed-since` at the same time as using directory arguments. You can only use `--changed-since` or use normal arguments.
wide-midnight-78598
12/01/2022, 2:28 PM