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

Merge branch '330-dev-minify' of...

Merge branch '330-dev-minify' of ssh://gitlab.iscpif.fr:20022/gargantext/purescript-gargantext into dev-merge
parents 1f3ec695 f34c8927
...@@ -52,6 +52,13 @@ let ...@@ -52,6 +52,13 @@ let
pulp browserify --skip-compile -t dist/bundle.js --src-path output pulp browserify --skip-compile -t dist/bundle.js --src-path output
''; '';
minify-bundle = pkgs.writeShellScriptBin "minify-bundle" ''
#!/usr/bin/env bash
set -e
minify dist/bundle.js > dist/bundle.min.js
'';
repl = pkgs.writeShellScriptBin "repl" '' repl = pkgs.writeShellScriptBin "repl" ''
#!/usr/bin/env bash #!/usr/bin/env bash
...@@ -76,10 +83,12 @@ pkgs.mkShell { ...@@ -76,10 +83,12 @@ pkgs.mkShell {
easy-ps.psc-package easy-ps.psc-package
easy-ps.dhall-json-simple easy-ps.dhall-json-simple
browserify browserify
build-css
build-purs build-purs
build-watch build-watch
build build
build-css minify-bundle
pkgs.minify
pkgs.nodejs pkgs.nodejs
repl repl
pkgs.pulp pkgs.pulp
......
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