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

Option targets is omitted when prepackageOnly is true #125

Closed
pillsilly opened this issue Dec 5, 2021 · 4 comments
Closed

Option targets is omitted when prepackageOnly is true #125

pillsilly opened this issue Dec 5, 2021 · 4 comments

Comments

@pillsilly
Copy link

pillsilly commented Dec 5, 2021

if (rawOptions.prepackageOnly) {

"omitting targets when prepackageOnly is true" sounds like a undocumented side-effect
-- It took me sometime to figure out by debugging.

May I know the reason of the behavior?
And would it be reasonable to update the doc(I can do it if it'll be confirmed)?

@bennymeg

@bennymeg
Copy link
Owner

bennymeg commented Dec 8, 2021

I think this separation can be amended now (as if: removing the else clause so it will be always invoked).
I will test as soon as I finish v12 and I will have some time.
Thanks for letting me know.

@julianpoemp
Copy link

--platform is also ignored, if prepackageOnly is true...

@bennymeg
Copy link
Owner

bennymeg commented Jan 24, 2022

Should be fixed on v12.0.0-beta.3.

@bennymeg
Copy link
Owner

It seems that it is not possible to package an application for multiple targets (the 'dir' and 'targets' options cannot be provided togather).
Please use the 'make' executer instead.

@bennymeg bennymeg closed this as completed Mar 4, 2022
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

3 participants