Hogan.js distributable file

282 views Asked by At

Does anyone know how to get a hogan.js 3.0.0 dist file?

The files at https://github.com/twitter/hogan.js are source files that should be compiled with Node.js in order to create the distributable. My question is how to build the source files with Node on Windows, or a link to a pre-built distributable file.

The dist file is mentioned here: https://github.com/twitter/hogan.js/blob/master/lib/hogan.js#L16

1

There are 1 answers

0
user2660757 On

Hogan uses a Makefile to create dist builds and do testing. This can be envoked by running make dist from a NIX terminal. https://github.com/twitter/hogan.js/issues/156

If you want to avoid using the Makefile, because you are running node.js from a Windows command prompt or for whatever reason, you need to create a ./dist directory in Hogan's root directory where the package.json is, then run node tools\release.js.

Make sure you've installed the dev-dependencies with npm install in the same directory as the package.json first.