From b1604e5216ec3e6afb081609f90d95b26a111648 Mon Sep 17 00:00:00 2001 From: Shao Cheng Date: Fri, 3 Apr 2020 12:07:15 +0200 Subject: [PATCH] Checkout the artifacts of precompiled examples into netlify (#540) --- .circleci/config.yml | 4 ++++ README.md | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd78c987f9..d2235951db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -154,6 +154,10 @@ jobs: command: | cd docs sphinx-build . _build + pushd _build + curl -L https://raw.githubusercontent.com/tweag/asterius/examples/ormolu.tar.xz | tar xJ + curl -L https://raw.githubusercontent.com/tweag/asterius/examples/pandoc.tar.xz | tar xJ + popd if [ $CIRCLE_BRANCH = "master" ] then netlify deploy --dir=_build --message="$CIRCLE_SHA1" --prod diff --git a/README.md b/README.md index 2d4f8878be..f9841d9b2e 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ World](https://hackage.haskell.org/package/hello-1.0.0.2)). A lot of common Haskell packages like `lens` are already supported. The project is actively maintained by [Tweag I/O](https://tweag.io/). +## Precompiled examples + +Here are the precompiled web version of some popular Haskell apps; feel free to +give it a try in your browser! + +* [`ormolu`](https://asterius.netlify.com/ormolu/WebOrmolu.html) +* [`pandoc`](https://asterius.netlify.com/pandoc/pandoc.html) + ## Quickstart using the pre-built Docker image We host a pre-built Docker image on [Docker @@ -75,6 +83,11 @@ We have [documentation](https://asterius.netlify.com/) and blog posts: * [Haskell art in your browser with Asterius](https://www.tweag.io/posts/2019-12-19-asterius-diagrams.html) +Also checkout the [HIW 2018 lightening +talk](https://icfp18.sigplan.org/details/hiw-2018-papers/6/Lightning-talk-Asterius-Bringing-Haskell-to-WebAssembly), +and the slides of an introductory talk in 2020 +[here](https://docs.google.com/presentation/d/1AZJIf2ykheqONOM23oC6F3LJ9m5W9gbl69pDVdZszHg/edit?usp=sharing). + Note that they may be slightly out-of-date as the project evolves. Whenever you find something in the docs of blog posts which doesn't reflect the status quo, it's a bug and don't hesitate to open a ticket :)