From 1b1b7664888dd468d7a9323ffe322d44be916afe Mon Sep 17 00:00:00 2001 From: Aaron <7063649+ahcode0919@users.noreply.github.com> Date: Mon, 17 Aug 2026 16:25:47 -0700 Subject: [PATCH] Add Makefile --- Makefile | 6 ++++++ README.md | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..de9a1c0 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +build: + swift build +test: + swift test +lint: + swift package plugin --allow-writing-to-package-directory swiftlint --fix \ No newline at end of file diff --git a/README.md b/README.md index 547a91b..76c0a73 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,8 @@ Repository of solutions to various problems and algorithms in Swift. ## Commands -- Run unit tests: `swift test` -- Run formatting/linting: `swift package plugin swiftlint --fix` +Project supports `Makefile` commands + +- Build project: `make build` +- Run unit tests: `make test` +- Run formatting/linting: `make lint`