[minify] some work on getting zephyr to work

Currently, parcel problems.
parent f34c8927
......@@ -35,8 +35,6 @@ let
'';
build-watch = pkgs.writeShellScriptBin "build-watch" ''
#!/usr/bin/env bash
set -e
......@@ -45,6 +43,15 @@ let
spago build -w --then browserify
'';
build-zephyr = pkgs.writeShellScriptBin "build-zephyr" ''
#!/usr/bin/env bash
set -e
spago build --purs-args '--codegen corefn,js'
zephyr -f Main.main
yarn parcel build dist/index.html --public-url '.' --no-source-maps
'';
browserify = pkgs.writeShellScriptBin "browserify" ''
#!/usr/bin/env bash
set -e
......@@ -82,10 +89,12 @@ pkgs.mkShell {
easy-ps.purs-0_14_4
easy-ps.psc-package
easy-ps.dhall-json-simple
easy-ps.zephyr
browserify
build-css
build-purs
build-watch
build-zephyr
build
minify-bundle
pkgs.minify
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment