HSLdevcom / localroute

Javascript library for public transport route planning
GNU General Public License v3.0
32 stars 13 forks source link

Add Gruntfile.js for Grunt. #3

Open haphut opened 10 years ago

haphut commented 10 years ago

Grunt is a build tool, like make. Here are the basics and a sample.

jjrv commented 10 years ago

Plovr is preferred for building. It's a single .jar containing closure compiler and relevant additional tools for compiling and minifying the project. It can also function as a service keeping the JIT-compiled Java-based compiler in memory, making the build process take about 90% less time for repeated builds. Of course Closure Compiler's standard Python-based build scripts also work.

Plovr fits the philosophy of LocalRoute.js which will also be a single .js file capable of most functionality with just Node.js builtin modules or a web browser.