This commit is contained in:
2023-03-05 14:37:02 -05:00
parent 5b8b912844
commit 8524efb765
23 changed files with 926 additions and 11 deletions

18
dots/Makefile Normal file
View File

@@ -0,0 +1,18 @@
PREFIX ?= $(HOME)/.local
BINDIR = $(PREFIX)/bin
COMPLETIONDIR = $(PREFIX)/completions
LIBDIR = $(PREFIX)/lib
build:
swiftc ./scripts/build.swift
./build
rm ./build
install: build
install -d "$(BINDIR)" "$(LIBDIR)"
install ./.build/release/dots "$(BINDIR)"
uninstall:
rm "$(BINDIR)/dots"
rm "$(COMPLETIONDIR)/_dots"