diff --git a/enter-nix-shell b/enter-nix-shell index c1357e2..c6ce419 100755 --- a/enter-nix-shell +++ b/enter-nix-shell @@ -2,4 +2,11 @@ # This script uses nix-shell to build an environment suitable for developing and testing this package -nix-shell -p gnumake python2 nodejs +# Run this with the "start" argument to automatically download deps and +# start talking to asjon in the CLI :) + +if [ "$1" == "start" ]; then + nix-shell -p gnumake python2 nodejs --command "npm install && bin/hubot" +else + nix-shell -p gnumake python2 nodejs +fi