migliorata nix-shell

This commit is contained in:
Enrico Fasoli 2015-09-24 17:19:41 +02:00
parent 7fae59beeb
commit ae1c7744ea

View File

@ -2,4 +2,11 @@
# This script uses nix-shell to build an environment suitable for developing and testing this package # This script uses nix-shell to build an environment suitable for developing and testing this package
# 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 nix-shell -p gnumake python2 nodejs
fi