diff --git a/Makefile b/Makefile index 8000b88..4260650 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,9 @@ uninstall: release: scripts/release + +update: + scripts/update + +lint: + scripts/lint diff --git a/scripts/update b/scripts/update new file mode 100755 index 0000000..7ae0e59 --- /dev/null +++ b/scripts/update @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -euo pipefail + +export SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)" + +cd "$SCRIPT_DIR" + +git pull +"${SCRIPT_DIR}/scripts/install" || true