mattbierner / khepri

ECMAScript derived programming language
http://khepri-lang.com/
MIT License
67 stars 3 forks source link

compile.js directory Support #41

Closed mattbierner closed 10 years ago

mattbierner commented 10 years ago

Support compiling all files in a directory.

mattbierner commented 10 years ago

Example:

$ node khepri/compile.js lib -o dist

will compile all files in lib to output in dir

For example in project:

/lib
   /sub_1
        k1.kep
   k2.kep

Using compile:

$ node khepri/compile.js lib -o dist

Outputs

/dist
   /sub_1
        k1.js
   k2.js