diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 0000000..666d294 --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,8 @@ +#!/bin/bash +cd $(dirname $0) +cd .. +tempDir=$(mktemp -d) +find . -name "*" -and -not -name "." -and -not -path "./src/*" -and -not -path "./src" -exec rm -rf {} + +rsync -a --delete ./src/ $tempDir +rsync -a --delete $tempDir/ . +rm -rf $tempDir \ No newline at end of file