Is there a way I can run an adhoc tool or shell_co...
# general
p
Is there a way I can run an adhoc tool or shell_command as a test? In particular, I want to run
npm test
I have npm run build| and npm start working šŸ˜ƒ
b
I don't know if they integrate with
system_tools
etc. yet... So, another option might be an
adhoc_tool
that runs
npm test
and then a
experimental_test_shell_command
"test" that depends on the "output" of that
adhoc_tool
. I think the test can do nothing, it just needs to exist as a hack to ensure there's dependencies that trigger the
npm test
"codegen" in the
pants test
goal
p
Hmm if command="" it yells at me
experimental_test_shell_command does work though
šŸŽ‰ 1
b
ah, yeah, you might need
command="true"
or something