Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
Checkout the artifacts of precompiled examples into netlify (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack authored Apr 3, 2020
1 parent f2ceb38 commit b1604e5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 :)
Expand Down

0 comments on commit b1604e5

Please sign in to comment.