summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-03-05 14:43:44 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-03-05 14:43:44 -0800
commit11503fbdb57d9ac1658874ed937f4e7a9455b3ae (patch)
tree93032a71916ebfb092db09e1f7c07df79d166066
parentc95015991964713b72969f69e2f375be33043d5a (diff)
Fix watcher script to only compile
-rwxr-xr-xwatcher.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/watcher.sh b/watcher.sh
index 00c7b82..56821da 100755
--- a/watcher.sh
+++ b/watcher.sh
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
-buildRun() {
- make && ./main
+build() {
+ make
}
-
-test
-while sleep 5; do buildRun; done
+build
+while sleep 5; do build; done