From d725449e26e1265c5c131e4b51f2970b8e0c7591 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 23 Apr 2025 02:24:39 -0700 Subject: build: Swap Make for just --- .gitignore | 2 ++ Makefile | 16 ---------------- justfile | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 Makefile create mode 100644 justfile diff --git a/.gitignore b/.gitignore index 528642a..5623a01 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ build/ # Other .DS_Store +*.just + diff --git a/Makefile b/Makefile deleted file mode 100644 index bb980c2..0000000 --- a/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -.PHONY: default lint format clean build - -default: format lint build - -format: - swiftformat . - -lint: - swiftlint - -clean: - xcodebuild clean - -build: - xcodebuild -configuration Release -scheme HoloBar clean build - diff --git a/justfile b/justfile new file mode 100644 index 0000000..5053c68 --- /dev/null +++ b/justfile @@ -0,0 +1,15 @@ +import? 'xcode.just' + +target := 'HoloBar' + +fetch: + curl https://raw.githubusercontent.com/Fuwn/justfiles/refs/heads/main/xcode.just > xcode.just + +format: + just _format {{target}} + +build: + just _build {{target}} + +open: + just _open {{target}} -- cgit v1.2.3