Re: Linux Platform Integration Alpha (Api.js etc)

2018-01-16 Thread julio cesar sanchez
That ugly message is caused probably by Cordova lib, I think we "broke" something when switching from a pinned npm to the system one, all the errors are appearing like that now. 2018-01-16 3:08 GMT+01:00 Shazron : > 3. Promises, ugh. Try reject OR throw, not both. > https://github.com/psychogenic

Re: Linux Platform Integration Alpha (Api.js etc)

2018-01-15 Thread Shazron
3. Promises, ugh. Try reject OR throw, not both. https://github.com/psychogenic/cordova-linux/blob/69a4dc92cae54e86761ad286c38710df8693b244/src/cordova/Api.js#L256 reject does not terminate the execution, it will still throw after the reject here... 4. "cordova clean -> Cleanup project from build

Re: Linux Platform Integration Alpha (Api.js etc)

2018-01-15 Thread Pat Deegan
Hi, First off, thanks for the answers. On 2018-01-15 08:25 PM, Shazron wrote: > 1. Core platforms get the reserved names. Third-party platforms are named > after what I presume is their repo name (not 100% sure on that last part). Ok, cool--I can wait for a nice reserved name, down the road. >

Re: Linux Platform Integration Alpha (Api.js etc)

2018-01-15 Thread Shazron
1. Core platforms get the reserved names. Third-party platforms are named after what I presume is their repo name (not 100% sure on that last part). 2. I would check out a platform example, i.e. 'ios': - https://github.com/apache/cordova-ios/blob/8edd13aaee16d6996a4560a74d17798437b42c6f/bin/te

Re: Linux Platform Integration Alpha (Api.js etc)

2018-01-14 Thread Pat Deegan
Hi all, Anyone have input on my Qs from the 5th? I'm especially interested in the second question, related to setting up Api.prototype.requirements, and in anything else I'd need to do to polish things up before making a pull request. Also, which repo would this request be made on? Thanks! PatD

Linux Platform Integration Alpha (Api.js etc)

2018-01-05 Thread Pat Deegan
Aloha, Ok, so it's still a bit rough around the edges but I've got a linux/coraline platform running (and a few related questions). It's available at https://github.com/psychogenic/cordova-linux.git Assuming you have: - a linux box, - cordova, - cmake/cpack (https://cmake