-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (56 loc) · 1.36 KB
/
Makefile
File metadata and controls
68 lines (56 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.PHONY: all test
.PHONY: default
default: check
.PHONY: install
install:
sh ./vim-sync-append.sh
.PHONY: install-coding-helpers
install-coding-helpers:
sh ./install-helpers.py
.PHONY: install-language-servers
install-language-servers: install-coding-helpers
@echo "Using obsolete make target. Change to install-coding-helpers"
.PHONY: uninstall
uninstall:
rm ~/.vimrc
rm -fr ~/.vim
rm -fr ~/.config/nvim
.PHONY: clean
clean:
# Clean vim-plug
rm -fr ./vim/plugged ./vim/autoload/plug.vim
# Clean LspInstall
rm -fr ~/.local/share/nvim/lsp_servers
# Clean Packer
rm -fr ~/.local/share/nvim/site/pack/packer
.PHONY: install-hooks
install-hooks:
pre-commit install --install-hooks
# Checks files for encryption
.PHONY: check
check:
pre-commit run --all-files
# Build Docker images
.PHONY: docker-build
docker-build:
docker build \
-f ./docker/Dockerfile \
--tag vividboarder/my-neovim .
# Build Docker images
.PHONY: docker-build-all
docker-build-all:
docker buildx build \
-f ./docker/Dockerfile \
--platform linux/arm,linux/arm64,linux/amd64 \
--tag vividboarder/my-neovim .
# Build Docker images
.PHONY: docker-build-push
docker-build-push:
docker buildx build \
-f ./docker/Dockerfile \
--push \
--platform linux/arm,linux/arm64,linux/amd64 \
--tag vividboarder/my-neovim .
.PHONY: docker-clean
docker-clean:
docker volume rm nvim-$(USER)-home