about summary refs log tree commit diff stats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..40d2c2b
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -eu
+
+source ./tup.config
+
+echo "Installing Project."
+set -x
+mkdir -p $CONFIG_INSTALL_PREFIX
+cp -r ./resources $CONFIG_INSTALL_PREFIX/resources
+cp -r ./docs $CONFIG_INSTALL_PREFIX/docs
+install -m755 $CONFIG_BUILD_DIR/bin/Pong* $CONFIG_INSTALL_PREFIX/
+set +x
+echo "Done Installing."