-
Notifications
You must be signed in to change notification settings - Fork 275
Contributing
Stephan Bösch-Plepelits edited this page Dec 22, 2015
·
7 revisions
There are a few steps to take to get twig.js building in your environment.
In order work on twig.js you will need node installed to run the tests and create the minified version of twig.js
- Fork and clone the twig.js git repository
- Run
npm install
to install the development dependencies - Make your changes to the source files in
src/
- Add/update tests in
test/
- Run
make
to build twig.js and twig.min.js (make -B
to force building) - Run
make test
to run the Mocha tests via node.js or open thetest/
directory in a web browser (via a web server,file:///path/to/twig.js/test
won't work)