mirror of
https://github.com/denisidoro/navi
synced 2024-11-28 14:30:22 +00:00
Add update script (#31)
This commit is contained in:
parent
0df4b9123d
commit
324af72a0e
2 changed files with 15 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -6,3 +6,9 @@ uninstall:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
scripts/release
|
scripts/release
|
||||||
|
|
||||||
|
update:
|
||||||
|
scripts/update
|
||||||
|
|
||||||
|
lint:
|
||||||
|
scripts/lint
|
||||||
|
|
9
scripts/update
Executable file
9
scripts/update
Executable file
|
@ -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
|
Loading…
Reference in a new issue