summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-12 16:58:52 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-12 16:58:52 +0200
commit0a9ba0f24b4d60dee65dc1a78a778fb7a373001b (patch)
tree4dc7371b3e3029de20ab84b0aa0a65b22013c0f1
parent63ab384440a6e6813196b914813914bc43674fa8 (diff)
Updated compile and run scripts
-rwxr-xr-xcompile.sh4
-rwxr-xr-xrun.sh2
-rwxr-xr-xtest.sh3
3 files changed, 8 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
new file mode 100755
index 0000000..c89b8f8
--- /dev/null
+++ b/compile.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cmake .
+make
diff --git a/run.sh b/run.sh
index 2118d77..2ba12bf 100755
--- a/run.sh
+++ b/run.sh
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/bin/sh
./cppbot $1
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..88ce626
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+make && valgrind ./cppbot_test