Passthrough args in deps #1240
-
Use case: I am using Prisma and after I generate the schema, I'd like to automatically run eslint and prettier on the output (which goes to another project). My tasks look like so: prisma:
command: prisma
env:
NODE_ENV: production
CHECKPOINT_DISABLE: "1"
inputs:
- ./prisma/**/*
generate-schema:
options:
runDepsInParallel: false
deps:
- prisma -- generate
- api-schema:lint
- api-schema:format
inputs:
- ./prisma/**/* This normally works fine for the case of calling the prisma task directly: moon api:prisma -- generate However the result of
Is this something not implemented, or am I missing some details on setting this up? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@paularmstrong This is unfortunately not supported right now, but is on the roadmap in Q1. You can work around it for now with multiple tasks (can use |
Beta Was this translation helpful? Give feedback.
-
This will land in the next version: #1248 |
Beta Was this translation helpful? Give feedback.
This will land in the next version: #1248