aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 3f18e25e4d57deddf21dbeeff019fe1ea0b14d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PREFIX?=$(HOME)/.config/nvim
FENNEL?=fennel
SOURCES := $(shell find . -name '*.lua')

install:
	for name in $(SOURCES); do\
		install -m644 $${name} $(PREFIX)/$${name}; \
	done

format:
	mkdir -p $(PREFIX)/lua/gabrielgio/
	for name in $(SOURCES); do\
		lua-format -i $${name}; \
	done