sharkone
sharkone
``` docker build steeve/cross-compiler:darwin-x64 ... docker run -ti steeve/cross-compiler:darwin-x64 ``` Then inside: ``` root@f343829869fd:/# x86_64-apple-darwin14-c++ Illegal instruction ```
Simplified and cleaned Makefile also added more explicit dependencies to prevent full rebuilds when possible. Tested working for all platforms except darwin-x64 because of steeve/libtorrent-go#6
``` make build-envs PLATFORMS=darwin-x64 ... ... INFO[0088] The command [/bin/sh -c curl -L http://sourceforge.net/projects/boost/files/boost/${BOOST_VERSION}/boost_`echo ${BOOST_VERSION} | sed 's/\\./_/g'`.tar.bz2/download | tar xvj && cd boost_`echo ${BOOST_VERSION} | sed 's/\\./_/g'`/ && ./bootstrap.sh...
Hi, here's a PR to implement the CloseNotifier on the ResponseWriter, allowing the user to be notified when a connection closes. There are also some minor cleanups introduced by gofmt.