-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create scyther_on_mac.md #43
base: master
Are you sure you want to change the base?
Conversation
detailed instructions to run scyther on mac through the terminal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Please check the comments.
scyther_on_mac.md
Outdated
|
||
3. Add it to the PATH by using the following commands, | ||
|
||
“echo >> /Users/kashishgaur/.zprofile”, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we don't want your username here? ~/.zprofile
?
scyther_on_mac.md
Outdated
|
||
“echo >> /Users/kashishgaur/.zprofile”, | ||
|
||
“echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/machinename/.zprofile”, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/Users/machinename/
must be wrong. I guess ~/
?
scyther_on_mac.md
Outdated
|
||
“eval "$(/opt/homebrew/bin/brew shellenv)”” | ||
|
||
Replace “manchinename” with your respective machine name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
scyther_on_mac.md
Outdated
@@ -0,0 +1,51 @@ | |||
1. Open the Terminal | |||
2. Install Homebrew, the macOS package manager, by running the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest also adding a link to the official homebrew website.
scyther_on_mac.md
Outdated
|
||
10. Move to the src directory, and run the following command to build scyther on the machine, | ||
|
||
“cmake -G "Unix Makefiles" ” |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't just "cmake" (without arguments) work already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I'm actually not even sure if cmake is needed at all here, just make
seems to work fine.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, simply "cmake" works fine too.
about the second query, it's usually recommended to run 'cmake' before 'make', especially if we use CMake to generate the build system, which is what we are doing. we want to build the system before executing it.
Just to prevent any unnecessary issues, which users might face (if the build environment is not generated correctly), I've chosen to run the 'cmake' command before the 'make' command
modified installation guide
modified guide
I don't think we need to run cmake and make here; I think we can just use |
detailed instructions to run scyther on mac through the terminal