chrisdone-archive / codeparty

Online code sharing teaching platform

Home Page:https://codeparty.in/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

template-psc-package

Reproducible template for a psc-package-using project

  • The PureScript source code is in src/Main.purs.
  • The dependencies are specified in psc-package.json.
  • The compiler and build tool are both specified in stack.yaml, so that this repository is always reproducible.

This repo gets you started!

Build

Build the PureScript tooling:

$ stack build

Build your PureScript project:

$ stack exec psc-package build

Produce an app.js:

$ stack exec -- purs bundle 'output/**/*.js' -m Main --main Main -o app.js

Now open index.html and look at the console.

Stack version

Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2

About

Online code sharing teaching platform

https://codeparty.in/


Languages

Language:JavaScript 86.6%Language:PureScript 5.7%Language:Haskell 4.5%Language:CSS 3.1%Language:Emacs Lisp 0.0%Language:HTML 0.0%Language:Shell 0.0%