Javascript wrapper for ride language compiler
This repository also contains version of the compiler build with scala-js
- Clone waves project
- Checkout to branch of your choice to build new compiler version
- Build js compiler using sbt task
sbt langJS/fullOptJS
sbt replJS/fullOptJS- From
wavesproject copy./lang/js/target/lang-opt.jsto./srcofride-js - From
wavesproject copy./repl/js/target/repl-opt.jsto./srcofride-js
If there is error with compiling try
sbt clean && sbt lang/cleannpm run buildbuilds minified version that can be included as script tag. Add RideJS variable to global scope