mirror of
https://github.com/ilyakooo0/seax.git
synced 2024-10-03 23:07:45 +03:00
Dev script now supports non-nix systems
This commit is contained in:
parent
cae52014b9
commit
9abc4882fb
@ -4,4 +4,9 @@ set -e
|
||||
|
||||
cd "$(dirname "$0")/../frontend"
|
||||
|
||||
nix run nixpkgs#elmPackages.elm-live -- src/Main.elm --start-page=index.html -- --debug --output=elm.js "$@"
|
||||
if [[ -z $(command -v nix) ]] && [[ -z $(command -v elm-live) ]]; then
|
||||
echo "Please install either 'nix' or 'elm-live'" && exit 1
|
||||
fi
|
||||
|
||||
command -v nix && nix run nixpkgs#elmPackages.elm-live -- src/Main.elm --start-page=index.html -- --debug --output=elm.js "$@"
|
||||
command -v elm-live && elm-live src/Main.elm --start-page=index.html -- --debug --output=elm.js "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user