diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-14 19:06:50 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-14 19:10:08 +0200 |
commit | fb3c96d50d625db725940625120012c75afc17f6 (patch) | |
tree | ac50ce1016f2fbb97ae1a7bf04f75be2559e078d /Makefile | |
download | gabrielgio.lua-fb3c96d50d625db725940625120012c75afc17f6.tar.gz gabrielgio.lua-fb3c96d50d625db725940625120012c75afc17f6.tar.bz2 gabrielgio.lua-fb3c96d50d625db725940625120012c75afc17f6.zip |
feat: Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4aba75d --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +PREFIX?=$(HOME)/.config/nvim +FENNEL?=fennel +SOURCES := $(shell find . -name '*.lua') + +install: + rm $(PREFIX)/lua/gabrielgio/* + mkdir -p $(PREFIX)/lua/gabrielgio/ + 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 |