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

refactor(gitHook): add multiple platform support #5280

Closed

Conversation

dimaslanjaka
Copy link
Contributor

What does it do?

update git hook pre-commit for multiple platforms

  • add cygwin support (tested on windows 10 latest cygwin version)
  • add WSL support (tested on windows 10 WSL ubuntu)
  • add windows cmd support (tested commit on windows 10 cmd)

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

- add cygwin support (tested on windows 10 latest cygwin version)
- add WSL support (tested on windows 10 WSL ubuntu)
- add windows cmd support (tested commit on windows 10 cmd)
@github-actions
Copy link

How to test

git clone -b master-update-githook https://github.com/dimaslanjaka/hexo.git
cd hexo
npm install
npm test

@uiolee
Copy link
Member

uiolee commented Oct 29, 2023

Duplicate of #5279

@uiolee uiolee marked this as a duplicate of #5279 Oct 29, 2023
@uiolee uiolee closed this Oct 29, 2023
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.

2 participants