aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rwxr-xr-xdev18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev b/dev
new file mode 100755
index 0000000..716b3af
--- /dev/null
+++ b/dev
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+cd "$(dirname $0)"
+CMD="$1"
+
+if [ "$CMD" = "start" ]; then
+
+ nix-shell --command "tmuxinator local"
+
+elif [ "$CMD" = "stop" ]; then
+
+ nix-shell --command "tmux kill-session -t visorando-scraper"
+
+else
+
+ echo "Usage: $0 start|stop"
+ exit 1
+
+fi