]> Git — Sourcephile - gargantext.git/blob - bin/install
Merge branch 'dev' into 206-dev-phylo
[gargantext.git] / bin / install
1 #!/bin/bash
2
3 #stack install --nix --profile --test --fast --no-install-ghc --skip-ghc-check
4
5 if [[ $1 == "dev" ]] ;
6 then
7 echo "DEV install"
8 env LANG=C.UTF-8 stack install --nix --no-install-ghc --skip-ghc-check --no-haddock-deps
9 else
10 echo "PROD install (with documentation)"
11 env LANG=C.UTF-8 stack install --haddock --nix --test --no-install-ghc --skip-ghc-check --no-haddock-deps
12 fi