https://github.com/anchore/go-macholibre
https://github.com/anchore/go-macholibre
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/anchore/go-macholibre
- Owner: anchore
- License: apache-2.0
- Created: 2022-02-23T18:17:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T15:16:36.000Z (over 1 year ago)
- Last Synced: 2025-04-02T16:50:37.269Z (over 1 year ago)
- Language: Go
- Size: 60.5 KB
- Stars: 5
- Watchers: 13
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-macholibre
A library for dealing with wrapping and unwrapping Mach-O multi-architecture binaries (a.k.a. Universal binaries).
## Developing
When developing / running tests, note that there is data being referenced that is not checked into the source tree
but instead residing in a separate store and is managed via [git-lfs](https://git-lfs.github.com/). You will need to
install and initialize git-lfs to work with this data:
```
git lfs install
git lfs pull
```
Grab local tooling:
```
make bootstrap
```
To run tests:
```
make fixtures
make unit
```
_Note on testing_: since `lipo` is used to verify that the resulting binaries are as expected, these test fixtures
can only be generated on a Mac.
To run all checks:
```
make
```