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`