Add a proper shell.nix
This commit is contained in:
parent
e6a04ff71c
commit
f0d0afe212
@ -1,12 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# 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
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user