Some formula sample to build the eosio source code then output the bottle file?


(Pursonchen) #1

I forked the EOSIO source code from GitHub, My arch is MacOs Mojave then I want to build it on my local machine meanwhile output the bottle file locally, would anyone else give me some formula sample about how to do above?


(Sean Molenaar) #2

There’s a Formula directory full of code samples to help you build a formula. As for building a bottle locally. As for the bottle, there’s the https://docs.brew.sh/Manpage#install-options-formula --build-bottle argument that you can pass to the local install. https://docs.brew.sh/Manpage#bottle-options-formula will then generate the actual binary for you.