diff --git a/README.md b/README.md index 87b9eb31..750ae656 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,12 @@ In my case, it was `echo "eval \"\$(/Users/david/.local/bin/mise activate zsh)\" #### Compiling Cork 0. I recommend you pick a version marked by one of the version tags. Those are released versions. If you decide to compile the current state of any of the branches, you might encounter experience-breaking bugs and unfinished features -1. Use the command `git clone https://github.com/buresdv/Cork.git && cd Cork && mise use tuist@4.25.0 && tuist install && tuist generate --no-binary-cache`. Xcode will open the project. +1. Use the command `git clone https://github.com/buresdv/Cork.git && cd Cork && mise exec tuist@4.25.0 -- tuist install && mise exec tuist@4.25.0 -- tuist generate --no-binary-cache`. + - Mise will ask you to trust the local [`.mise.toml`](.mise.toml). + - You can either: + - Say yes, to always use `tuist` version 4.25.0 in this directory. + - Say no, and the command will use `tuist` 4.25.0 anyway, but future invocations of `tuist` will not be version controlled. + - Xcode will open the project.
@@ -159,7 +164,7 @@ In my case, it was `echo "eval \"\$(/Users/david/.local/bin/mise activate zsh)\"
  1. git clone https://github.com/buresdv/Cork.git downloads the source code
  2. cd Cork opens the folder you downloaded Cork into
  3. -
  4. mise use tells your system to use version 4.25.0 of Tuist to build Cork
  5. +
  6. mise exec [...] runs a command using version 4.25.0 of Tuist, without polluting your local `mise.toml`, to build Cork
  7. tuist install downloads all Cork pre-requisites
  8. tuist generate creates the Xcode project and opens it
@@ -187,4 +192,4 @@ Cork is licensed under [Commons Clause](https://commonsclause.com). This means that Cork's source source is available and you can modify it, contribute to it etc., but you can't sell or distribute Cork or modified versions of it. -Moreover, you can’t distribute compiled versions of Cork without consulting me first. Compiling versions for your personal use is fine. \ No newline at end of file +Moreover, you can’t distribute compiled versions of Cork without consulting me first. Compiling versions for your personal use is fine.