curved-television-6568
10/20/2022, 2:29 PMrun
goal, right?
So this I guess ought to be an easy fix?
╰─❯ ./pants run build/scripts/makemigrations.sh
10:27:26.36 [INFO] Remote cache/execution options updated: reinitializing scheduler...
10:27:27.38 [INFO] Scheduler initialized.
10:27:28.06 [ERROR] 1 Exception encountered:
NoApplicableTargetsException: No applicable files or targets matched. The `run` goal works with these target types:
* experimental_run_shell_command
* pex_binary
* python_source
* python_test
However, you only specified file arguments with these target types:
* shell_source
Please specify relevant file and/or target arguments. Run `./pants --filter-target-type=experimental_run_shell_command,pex_binary,python_source,python_test list ::` to find all applicable targets in your project, or run `./pants --filter-target-type=experimental_run_shell_command,pex_binary,python_source,python_test filedeps ::` to find all applicable files.
Just putting it up for suggestion, I could take a look at it eventually.. 😉curved-television-6568
10/20/2022, 2:30 PMexperimental_run_shell_command
in there too that depends on this script..)hundreds-father-404
10/20/2022, 3:12 PMrun
support for `shell_source`: https://github.com/pantsbuild/example-plugin/blob/main/pants-plugins/examples/bash/run_binary.pyhundreds-father-404
10/20/2022, 3:13 PM./pants run path/to/file.ext
?bitter-ability-32190
10/20/2022, 3:21 PMbitter-ability-32190
10/20/2022, 3:22 PMdependencies
. Although, the in-repo CWD vs the sandbox CWD is a tough one (unlike Python, where namespace packages allow you to cheat)curved-television-6568
10/20/2022, 4:21 PMexperimental_run_shell_command
using it’s main dependency.. but that may not be universally possible to support in an unambiguous way I realize..curved-television-6568
10/20/2022, 4:22 PM