From 04946c9f0a05c6e4fb978e4d3178f67b0f238ec1 Mon Sep 17 00:00:00 2001 From: Lukas Korba <62649321+lukaskorba-indiedev@users.noreply.github.com> Date: Mon, 21 Feb 2022 14:55:06 +0100 Subject: [PATCH] Installation of Swiftlint & Swiftgen added Installations done via homebrew endup on a different path compared to Intel machines. A section describing how to handle both Swiftlint & Swiftgen on Apple Silicon added --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 1194949..e3647fc 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,25 @@ This a reference wallet for the following set of features: note: z means sapling shielded addresses. +# Installation of Swiftgen & Swiftlint on Apple Silicon chip + +## Swiftgen +Install it using homebrew +``` +$ brew install swiftgen +``` +and create a symbolic link +``` +ln -s /opt/homebrew/bin/swiftgen /usr/local/bin +``` +## Swiftlint +The project is setup to work with `0.45.0` version. We recommend to install it directly using [the official 0.45.0 package](https://github.com/realm/SwiftLint/releases/download/0.45.0/SwiftLint.pkg). If you follow this step there is no symbolic link needed. + +In case you already have swiftlint 0.45.0 ready on your machine and installed via homebrew, create a symbolic link +``` +ln -s /opt/homebrew/bin/swiftlint /usr/local/bin +``` + # Contributing Contributions are very much welcomed! Please read our [Contributing Guidelines](/CONTRIBUTING.md) and [Code of Conduct](/CONDUCT.md). Our backlog has many Issues tagged with the `good first issue` label. Please fork the repo and make a pull request for us to review.