@acryl/ride-js
v1.0.1
Published
Js compiler for Ride - Acryl smart contract language.
Downloads
3
Readme
Ride-js
Javascript wrapper for ride language compiler
This repository also contains version of the compiler build with scala-js
To update compiler version in this wrapper:
- Clone acryl project
- Checkout to branch of your choice to build new compiler version
- Build js compiler using sbt task
sbt langJS/fullOptJS
- From
acryl
project copy./lang/js/target/lang-opt.js
to./src
ofride-js
Tasks
npm run build
builds minified version that can be included as script tag. Add RideJS variable to global scope