initial commit

This commit is contained in:
2026-04-15 18:03:52 -04:00
commit 451bf3a9fc
6 changed files with 284 additions and 0 deletions

27
Makefile Normal file
View File

@@ -0,0 +1,27 @@
DEVELOPER_DIR := /Library/Developer/CommandLineTools
SWIFT := /usr/bin/swift
INSTALL_DIR := $(HOME)/.local/bin
BINARY_NAME := nunc
export DEVELOPER_DIR
unexport SDKROOT
.PHONY: build release install clean run
build:
$(SWIFT) build
release:
$(SWIFT) build -c release
install: release
mkdir -p $(INSTALL_DIR)
cp .build/release/Nunc $(INSTALL_DIR)/$(BINARY_NAME)
@echo "Installed to $(INSTALL_DIR)/$(BINARY_NAME)"
clean:
$(SWIFT) package clean
rm -rf .build
run: build
.build/debug/Nunc