Skip to content
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

chore: Remove the shell and docs for build/install APISIX on MacOS #10864

Merged
merged 3 commits into from
Jan 24, 2024
Merged

chore: Remove the shell and docs for build/install APISIX on MacOS #10864

merged 3 commits into from
Jan 24, 2024

Conversation

Vacant2333
Copy link
Contributor

Description

Remove the sh and docs for build/install APISIX on MacOS, it will be not supported

Fixes #
Part of: #10784

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@Vacant2333
Copy link
Contributor Author

@membphis hi! can u help me take a look about the solution?

# Install dependencies on mac osx
function install_dependencies_on_mac_osx() {
# install OpenResty, etcd and some compilation tools
brew install openresty/brew/openresty luarocks [email protected] wget curl git pcre openldap
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can throw an warning message, it more friendly

Copy link
Contributor Author

@Vacant2333 Vacant2333 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, i have update this, in fact, if it is Mac in this logic, it will indicate that the current platform is not supported, so I did not add a new prompt.
image

But there is another problem with this code. Even the unsupported platform make deps will continue to execute, so I added an exit 1 to interrupt it.
image

the result will be like:
image

@membphis membphis marked this pull request as ready for review January 23, 2024 10:51
@monkeyDluffy6017 monkeyDluffy6017 merged commit 847db2a into apache:master Jan 24, 2024
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants