Commit ccfbb102 authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge branch 'dev-merge' into dev

parents 248d242b 09326ad0
...@@ -49,7 +49,7 @@ let ...@@ -49,7 +49,7 @@ let
spago build --purs-args '--codegen corefn,js' spago build --purs-args '--codegen corefn,js'
zephyr -f Main.main zephyr -f Main.main
yarn parcel build dist/index.html --public-url '.' --no-source-maps browserify-zephyr
''; '';
browserify = pkgs.writeShellScriptBin "browserify" '' browserify = pkgs.writeShellScriptBin "browserify" ''
...@@ -59,6 +59,14 @@ let ...@@ -59,6 +59,14 @@ let
pulp browserify --skip-compile -t dist/bundle.js --src-path output pulp browserify --skip-compile -t dist/bundle.js --src-path output
''; '';
browserify-zephyr = pkgs.writeShellScriptBin "browserify-zephyr" ''
#!/usr/bin/env bash
set -e
pulp browserify --skip-compile -t dist/bundle.js -o dce-output
#purs bundle -o dist/bundle.js -m Main dce-output/**/*.js
'';
minify-bundle = pkgs.writeShellScriptBin "minify-bundle" '' minify-bundle = pkgs.writeShellScriptBin "minify-bundle" ''
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
...@@ -91,12 +99,14 @@ pkgs.mkShell { ...@@ -91,12 +99,14 @@ pkgs.mkShell {
easy-ps.dhall-json-simple easy-ps.dhall-json-simple
easy-ps.zephyr easy-ps.zephyr
browserify browserify
browserify-zephyr
build-css build-css
build-purs build-purs
build-watch build-watch
build-zephyr build-zephyr
build build
minify-bundle minify-bundle
pkgs.closurecompiler
pkgs.minify pkgs.minify
pkgs.nodejs pkgs.nodejs
repl repl
......
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