demian85 / git-watcher

Git GUI desktop app that shows real-time diff file information for working directory and index
MIT License
170 stars 24 forks source link

Add Windows & OSX Builds #8

Open DaAwesomeP opened 9 years ago

DaAwesomeP commented 9 years ago

Node-Webkit supports these platforms just fine and it would be awesome if you could link to precompiled binaries of git-watcher.

Also, when you make releases on GitHub, you can attach files with them. This way precompiled downloads for every platform can be hosted on GitHub and tagged with each release.

demian85 commented 9 years ago

I don't use Windows and I don't even own a Mac. I need help to support those platforms. I would also like to create a .deb package, but I don't have a clue.

DaAwesomeP commented 9 years ago

I would be happy to help with the Windows builds. Node-Webkit should work fine if this; I have used it before. I don't think that I would be able to help with the creation of the DEB package, but I can test it on Debian wheezy and Ubuntu.

First off, building gets a lot easier with grunt-node-webkit-builder or node-webkit-builder. They create Mac .app, Windows .exe, and Linux executables in both 32-bit and 64-bit. They also automatically download Node-webkit for the build. I used it in a project once before, but it has been a while and I don't remember much. Look in the releases for build examples.

ghost commented 9 years ago

So you can .pkg, .deb, *.exe build at CI, it's much easy

demian85 commented 9 years ago

Sory but I don't get it. Can I even build it for Windows & Mac on Ubuntu? I thought you must compile it running on the same platform :/

On Thu, Feb 19, 2015 at 1:27 PM, Roman Vanesyan notifications@github.com wrote:

So you can use build at CI, it's much easy

— Reply to this email directly or view it on GitHub https://github.com/demian85/git-watcher/issues/8#issuecomment-75083276.

ghost commented 9 years ago

http://docs.travis-ci.com/user/deployment/releases/ and google: ci release build tag for more informations

DaAwesomeP commented 9 years ago

The great part about most of the open source compilers (like node-webkit) is that they can compile binaries for other operating systems from a different operating system. I _highly_ recommend using grunt-node-webkit-builder or node-webkit-builder. They automate the entire process for you.

OSX 10.6 also officially runs in Virtualbox, but costs money. However, you can get the Windows 7 trial (30 days) as many times as you want in Virtualbox. However, I would be more than happy to test everything on Windows.