asjon/enter-nix-shell

13 lines
376 B
Plaintext
Raw Normal View History

#!/bin/sh
# This script uses nix-shell to build an environment suitable for developing and testing this package
2015-09-24 17:19:41 +02:00
# 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