dunnl / rewrite-live

Final project for UPenn Fall 2022 CIS7000-001

Home Page:https://dunnl.github.io/rewrite-live/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rewrite Live!

Building

A note about NixOS

I am building on NixOS. If you not using Nix, basically you will need install the following three utilities before doing anything else:

  • NPM, the Javascript package manager.
  • Purescript (purs), the programming language
  • Spago, the build tool to Purescript

Ideally, all you need to start building this project is npm, which could take care of installing Purescript and Spago. On NixOS, the Purescript and Spago binaries installed by npm cannot be executed because the Linux dynamic linker ld-linux.so is not in its usual location (and probably other dependencies too). Therefore a shell.nix is provided for Nix users which installs all three of the previous systems. If you aren't using Nix, you will need to install Purescript and Spago globally yourself using either npm or your system's package manager.

Eventually it would be nice to implement a solution that works as-is on any system, with the option to use Nix for Nix users.

Running the build

Regardless, npm is the main tool for handling other things (running the build script, installing JS packages, etc). You shouldn't need to run spago much except if you are, say, adding new Purescript dependencies.

The main command is npm run build

About

Final project for UPenn Fall 2022 CIS7000-001

https://dunnl.github.io/rewrite-live/

License:MIT License


Languages

Language:JavaScript 94.2%Language:PureScript 4.7%Language:HTML 0.7%Language:Dhall 0.3%Language:SCSS 0.1%Language:Nix 0.0%