Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass postTargets as cli args ? #787

Closed
bencat-sixense opened this issue Feb 20, 2024 · 1 comment
Closed

How to pass postTargets as cli args ? #787

bencat-sixense opened this issue Feb 20, 2024 · 1 comment

Comments

@bencat-sixense
Copy link

I try to pass the --postTargets from the cli- instead of project.json.

No matter the format, I always get this error:

Error: Invalid Target String: [myTarget]

I've tried:
--postTargets=["target1","target2"]
--postTargets="target1,target2"
--postTargets=target1

And many more...

Is it just possible to do that ?

Thanks for your help !

@bencat-sixense
Copy link
Author

I found the problem:

I had to revert from

--postTargets=["target1","target2"]

to

--postTargets=["my-project-name:target1","my-project-name:target2"]

I close this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant