![]() Before we continue, let's look into setting up a development environment to make our lives a little easier. If you've been following the guides, you should have a solid understanding of some of the webpack basics. In my opinion, this is the “proper” solution.This guide extends on code examples found in the Output Management guide. This answer will help you set the path that is visible to applications (e.g. I just remembered this because I recall Emacs has similar problems. Upon further investigation, it seems that for Mac OS, programs do not automatically inherit the PATH from the login shell (!!!). If you’re using fish as your login shell, you’d need to follow the convention for fish, etc. I personally use zsh, so I would need to modify ~/.zprofile instead (on Linux again here Mac OS may or may not have different conventions). (I’m on Linux and thus won’t be able to test.) On a Linux machine, your ~/.bash_profile should work.Īll of this is assuming you are using bash as your login shell. Unfortunately, it seems that Mac OS has its own rules that is separate from Linux. This article goes into a bit more detail for how it fits together on Mac OS. I don’t know why your ~/.bash_profile is not being run correctly. Note also that the build above has a special osx key that gives the build a specific path to use on that platform you can create a similar key for your platform if it’s not osx to provide a similar Glad to hear you found a solution, and sorry I wasn’t able to help more earlier. Depending on what you used in your own build file you may or may not want to copy the contents above into your own and modify it as needed, in case you didn’t have a file_regex or what have you. So in your case, you should move the file that you created to be in that folder by that name to have it take the place of the existing one. Then it will notice that there’s a file in the Rust folder with that name and load that file instead of the one that’s inside of the sublime-package file, which overrides the file in the package with your version. When Sublime loads the Rust package, it’s going to get to the part of the sublime-package file that says that there is a file named Rust.sublime-build. When you create those files/folders, make sure that you get the case correct.
0 Comments
Leave a Reply. |