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

Latest commit

 

History

History
26 lines (16 loc) · 788 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 788 Bytes

nixpkgs-fmt-wasm

This package is re-exporting the nixpkgs-fmt library to WASM. The goal is to provide a demo page for users to test and report issues.

Dependencies

Run nix-shell in the parent folder if you are fortunate enough to have Nix installed. Otherwise go to https://rustwasm.github.io/wasm-pack/installer/ and follow the installation instructions there.

Building

Run ./build.sh to build the WASM target. It's going to take a while.

Once the project has finished to build, all the outputs will be under ./pkg.

Running

Use a static file server like caddy to serve the demo. Start caddy and then go to http://localhost:2015/ . Enjoy!

TODO

  • Automatically publish master to github pages
  • Submit formatting as GitHub issues