diff options
author | Joris | 2020-07-13 21:30:32 +0200 |
---|---|---|
committer | Joris | 2020-07-13 21:30:32 +0200 |
commit | d1135ff55db85ef81bbe2bd8f283cdbbd5464298 (patch) | |
tree | a971c4d88b862b21ca2263c6c48b053d64c9b125 /dev | |
parent | 73a9d499c9e3709d99d61bbbbf412611a5c503b9 (diff) |
Show map and add marks with right click
Diffstat (limited to 'dev')
-rwxr-xr-x | dev | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +#!/usr/bin/env bash +set -euo pipefail +cd "$(dirname $0)" +CMD="$1" +PROJECT="map" + +if [ "$CMD" = "start" ]; then + + nix-shell --run "make node_modules && tmuxinator local" + +elif [ "$CMD" = "stop" ]; then + + nix-shell --run "tmux kill-session -t $PROJECT" + +elif [ "$CMD" = "watch-ocaml" ]; then + + bsb -make-world -w + +elif [ "$CMD" = "watch-js" ]; then + + node_modules/.bin/rollup --watch --config rollup.config.js + +else + + echo "Usage: $0 start|stop|watch-ocaml|watch-js" + exit 1 + +fi |