mozilla / qbrt

CLI to a Gecko desktop app runtime
Apache License 2.0
391 stars 31 forks source link

Refactor the CLI to allow building windows and linux packages on any other platform #159

Closed brianpeiris closed 6 years ago

brianpeiris commented 6 years ago

This PR adds --win and --linux flags to the package command. I've refactored the CLI code accordingly, so that the resulting package isn't just based on your current platform.

brianpeiris commented 6 years ago

Thanks for the merge! I setup an example of how you'd use Travis CI's osx environment to build all three packages using these new flags here, if you're interested: https://github.com/brianpeiris/qbrt-test/blob/master/.travis.yml https://travis-ci.com/brianpeiris/qbrt-test

And yes, I didn't bother with a --mac flag because of the hditool dependency.