aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 340cc0f90a2073294831cb0f323023ba672e07a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

build: ## Build the image
	clear
	make build-shellcheck
	docker build -t thornycrackers/neovim .

build-shellcheck: ## build the shellcheck binaries
	clear
	docker build -t thornycrackers/shellcheck shellcheck-builder
	docker run --rm -it -v $(CURDIR):/mnt thornycrackers/shellcheck

enter: ## Enter the image
	docker run -i -t thornycrackers/neovim /bin/zsh