You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/25 16:58:54 UTC

[GitHub] [cordova-electron] zoltan-mihalyi opened a new issue #187: Build platform option

zoltan-mihalyi opened a new issue #187:
URL: https://github.com/apache/cordova-electron/issues/187


   # Feature Request
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   I would like to run the windows build on my windows machine, and linux build on my linux.
   
   ## Feature Description
   <!-- 
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would look like
   Are there any drawbacks? Will this break anything for existing users? 
   -->
   
   `cordova build electron --platform=windows` or similar should be nice
   
   ## Alternatives or Workarounds
   <!-- 
   Describe alternatives or workarounds you are currently using 
   Are there ways to do this with existing functionality?
   -->
   
    Right now I achieve this by deleting parts of the json before running the build.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-electron] Jahrenski commented on issue #187: Build platform option

Posted by GitBox <gi...@apache.org>.
Jahrenski commented on issue #187:
URL: https://github.com/apache/cordova-electron/issues/187#issuecomment-768294144


   Here I made the script after all. Take it if you need it.
   [copy-build.zip](https://github.com/apache/cordova-electron/files/5880567/copy-build.zip)
   
   Basically, you'll have specific build.json files for each platform and for electron, you are able to specify --platform=windows


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-electron] Jahrenski commented on issue #187: Build platform option

Posted by GitBox <gi...@apache.org>.
Jahrenski commented on issue #187:
URL: https://github.com/apache/cordova-electron/issues/187#issuecomment-767676394


   This would be great indeed!
   I was thinking of making a hook to switch build.json before hand to get me out of this issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org