Website of the effekt language
The initial version of the website was generated by sbt-microsites (© 2019 47 Degrees). We then moved to directly editing the generated Jekyll code for more flexibility.
sbt-microsites
Copyright (c) 2016-2020 47 Degrees. All rights reserved.
Licensed under Apache License. See [LICENSE](LICENSE) for terms.
See the MICROSITE-LICENSE file for the original sbt-microsite license.
The website is built with jekyll and requires a ruby installation.
Follow instructions on the Jekyll website to install jekyll (which requires Ruby). Afterwards, you are now able to locally deploy the website using the following command:
$ bundle exec jekyll serve
The website features an interactive REPL and editor. In order to update the underlying compiler, run the following commands.
$ cd effekt/
$ sbt
sbt> project effektJS
effektJS> fullOptJS
[info] Full optimizing ./js/target/scala-2.13/effekt-opt.js
$ cd ..
effekt/js/target/scala-$VERSION/effekt-opt.js
to src/effekt.js
in the website repo:
$ cp effekt/effekt/js/target/scala-$VERSION/effekt-opt.js src/effekt.js
$ npm install .
webpack
:
$ npm exec webpack webpack
This will generate a bunch of packed js files.
$ bundle exec jekyll serve