Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utybo/libgit2-redist
A redistribution of libgit2 packages
https://github.com/utybo/libgit2-redist
Last synced: 11 days ago
JSON representation
A redistribution of libgit2 packages
- Host: GitHub
- URL: https://github.com/utybo/libgit2-redist
- Owner: utybo
- License: other
- Created: 2024-03-09T13:46:54.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-10T15:21:46.000Z (8 months ago)
- Last Synced: 2024-10-11T11:22:10.855Z (about 1 month ago)
- Language: Nu
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `libgit2-redist`
Script for building libgit2 on Windows + redistributed binaries.
**Only available for Windows x86 64 bits.**
- 🍎 On macOS, use Homebrew
- 🐧 On Linux, use your system package manager for installation. For example:
- 🟠 Ubuntu: `libgit2` and `libgit2-dev`
- ❄️ Nix/NixOS: [`libgit2`](https://search.nixos.org/packages?channel=23.11&show=libgit2&from=0&size=50&sort=relevance&type=packages&query=libgit2)
- 🌉 Arch: [`libgit2`](https://archlinux.org/packages/extra/x86_64/libgit2/)
- 🪟✨ On Windows ARM, you should be able to run this as-is, but no promises.**Current version:** `v1.7.2`. Check the [release page](https://github.com/utybo/libgit2-redist/releases) for download links.
## Usage
- Install [VS Build Tools](https://aka.ms/vs/17/release/vs_BuildTools.exe) (or [here](https://visualstudio.microsoft.com/downloads/)), [Nushell](https://www.nushell.sh/) and 7zip:
```pwsh
winget install Microsoft.VisualStudio.2022.Community --silent --override "--wait --quiet --add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended"
winget install nushell 7z
```_credit to robotdad for [this command](https://gist.github.com/robotdad/83041ccfe1bea895ffa0739192771732)_
- Open a "Developer Powershell", then run `nu win-build.nu`
- You'll find the results in `build/win-x64/out`