How to compile hookbox/js_src into hookbox/static

8 views
Skip to first unread message

wi...@richert.de

unread,
Feb 21, 2012, 12:29:01 PM2/21/12
to hoo...@googlegroups.com
Hi,

has anyone succeeded in running the Makefile in hookbox/js_src in
order to compile/minify the JS source to hookbox/static?

The jsio_compile invocations did not work for me. Using the latest
version from https://github.com/gameclosure/js.io also did not
succeed.

Thanks,
wr

Dax

unread,
Feb 21, 2012, 6:16:46 PM2/21/12
to Hookbox User Group
I was able to successfully compile by running make using either the
following:

1. use -G option instead of -g in , but must have internet connection
2. Download closure compiler http://code.google.com/p/closure-compiler/
(I user release r1741) and uncompress and move compiler.jar to the
same directory as the Makefile

Do you think best to just use -G as default in the Makefile?

Regards,
Dax

On Feb 22, 1:29 am, wi...@richert.de wrote:
> Hi,
>
> has anyone succeeded in running the Makefile in hookbox/js_src in
> order to compile/minify the JS source to hookbox/static?
>
> The jsio_compile invocations did not work for me. Using the latest
> version fromhttps://github.com/gameclosure/js.ioalso did not
> succeed.
>
> Thanks,
> wr

Willi Richert

unread,
Feb 24, 2012, 4:11:48 PM2/24/12
to hoo...@googlegroups.com
From where did you get jsio_compile?

I tried to use the one from gameclosure but it did not work. We should
definitely add dependencies so that someone installing it using
pip/easy_install would pull those automatically.

Thanks,
wr

* Dax <rai...@gmail.com> [2012-02-21 15:16:46 -0800]:

Raikage

unread,
Feb 24, 2012, 9:49:19 PM2/24/12
to hoo...@googlegroups.com
Hi Will,


can you try do a

pip install pyjsiocompile

it should install the one from pypi http://pypi.python.org/pypi/pyjsiocompile

pyjsiocompile is needled only if you need to modify the javascript
part of hookbox. It is not going to be needed for running hookbox.
I guess this information is better added in the documentation.

Regards,
Dax

Willi Richert

unread,
Feb 26, 2012, 11:31:53 AM2/26/12
to hoo...@googlegroups.com
That was the hint, thanks. Worked perfectly now even with -g (not
using -G).

I thing addind the pip command in a comment to js_src/Makefile should
suffice.

Thanks,
wr

* Raikage <rai...@gmail.com> [2012-02-25 10:49:19 +0800]:

Reply all
Reply to author
Forward
0 new messages