You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
that won't work - defaultTarget would be better named defaultTargetType (and so would --target argument), so the target types can only be "source" or "build" because that is the only two that there is code for.
EG if you have one "source" target which has "application-types": ["browser"], "outputPath": "compiled/source" and a second "source" which has "application-types": ["node"], "outputPath": "compiled/source-node"
They are both "source" targets and both compiled.
If you want to only compile one target, then you need to only compile the applications that use that target. EG if you have an application which has "name": "myApp", "application-type": "browser", you can do qx compile --app-name=myApp - this will only compile into compiled/source.
Ok, thanks, I did not know. I'll leave the issue open for the time being, in case others stumble upon the same question or we revisit the issue, but postpone the issue until later.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, the
defaultTarget
key ofcompile.json
can only be "source" or "build".I propose to remove that restriction, any target should be be able to be set as default.
The text was updated successfully, but these errors were encountered: