Commit 8705beca authored by Nicolas Pouillard's avatar Nicolas Pouillard

nix-shell add conveninence command to serve dist

parent f485f3cd
...@@ -35,6 +35,14 @@ let ...@@ -35,6 +35,14 @@ let
''; '';
serve = pkgs.writeShellScriptBin "serve" ''
#!/usr/bin/env bash
set -e
yarn server
'';
build-watch = pkgs.writeShellScriptBin "build-watch" '' build-watch = pkgs.writeShellScriptBin "build-watch" ''
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
...@@ -110,6 +118,7 @@ pkgs.mkShell { ...@@ -110,6 +118,7 @@ pkgs.mkShell {
pkgs.minify pkgs.minify
pkgs.nodejs pkgs.nodejs
repl repl
serve
pkgs.pulp pkgs.pulp
pkgs.spago pkgs.spago
pkgs.yarn pkgs.yarn
......
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