Join us on IRC at #hiphopapp
on freenode (web access).
You will need nodejs and grunt:
$ npm install -g grunt-cli
And ruby with compass to build the stylesheets. Read this for more information.
Run at least once to install dependencies and generate JS and CSS files.
$ npm install
$ grunt
Run node-webkit from the build/cache directory (--debug always on). Note that grunt build has to be done at least once before this.
$ grunt run
Build with:
$ grunt build
By default it will build for your current platform however you can control that
by specifying a comma separated list of platforms in the platforms
option to
grunt:
$ grunt build --platforms=linux32,linux64,mac,win
You can also build for all platforms with:
$ grunt build --platforms=all
Note: should add some grunt automation here
-
Update
version
in/package.json
-
$ grunt build --platforms=mac
or just$ grunt build
if you're on a Mac (the generatedHipHop.app
will be available in/build/releases/HipHop/mac/
) -
Download latest Windows version of rogerwang/node-webkit#downloads and put all files in
/node-webkit/win/*
-
Open and Build
/dist/windows/windows-installer.iss
in a Windows environment (requires Inno Setup installed), this will generate/dist/windows/Install HipHop x.x.x.exe
. You have your Windows installer! -
Upload both files to
http://download.gethiphop.net/releases/x.x.x/[mac|win]/
-
Update
/misc/update.json
accordingly and upload tohttp://gethiphop.net/update.json
(ONLY when both releases are available for download)