An open API service indexing awesome lists of open source software.

https://github.com/anchore/go-macholibre


https://github.com/anchore/go-macholibre

Last synced: over 1 year ago
JSON representation

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
```